Access to a set of nonzeros. More...
#include <nonzeros.hpp>
NonZeros class for Matrix NonZeros is the return type for operator[] of the Matrix class, it allows access to the value as well as changing the parent object
Definition at line 40 of file nonzeros.hpp.
Public Member Functions | |
NonZeros (M &mat, const K &k) | |
Constructor. More... | |
NonZeros (const NonZeros< M, K > &y)=default | |
Default copy constructor. More... | |
const M & | operator= (const NonZeros< M, K > &y) |
const M & | operator= (const M &y) |
M | operator+= (const M &y) |
M | operator-= (const M &y) |
M | operator*= (const M &y) |
M | operator/= (const M &y) |
|
inline |
Definition at line 43 of file nonzeros.hpp.
|
default |
M casadi::NonZeros< M, K >::operator*= | ( | const M & | y | ) |
Methods that modify a part of the parent object (A[k] = ?, A[k] += ?, etc.)
Definition at line 95 of file nonzeros.hpp.
M casadi::NonZeros< M, K >::operator+= | ( | const M & | y | ) |
Methods that modify a part of the parent object (A[k] = ?, A[k] += ?, etc.)
Definition at line 81 of file nonzeros.hpp.
M casadi::NonZeros< M, K >::operator-= | ( | const M & | y | ) |
Methods that modify a part of the parent object (A[k] = ?, A[k] += ?, etc.)
Definition at line 88 of file nonzeros.hpp.
M casadi::NonZeros< M, K >::operator/= | ( | const M & | y | ) |
Methods that modify a part of the parent object (A[k] = ?, A[k] += ?, etc.)
Definition at line 102 of file nonzeros.hpp.
const M & casadi::NonZeros< M, K >::operator= | ( | const M & | y | ) |
Methods that modify a part of the parent object (A[k] = ?, A[k] += ?, etc.)
Definition at line 75 of file nonzeros.hpp.
const M & casadi::NonZeros< M, K >::operator= | ( | const NonZeros< M, K > & | y | ) |
Methods that modify a part of the parent object (A[k] = ?, A[k] += ?, etc.)
Definition at line 68 of file nonzeros.hpp.