List of all members | Public Member Functions
casadi::NonZeros< M, K > Class Template Reference

Access to a set of nonzeros. More...

#include <nonzeros.hpp>

Detailed Description

template<typename M, typename K>
class casadi::NonZeros< M, K >

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

Author
Joel Andersson
Date
2011

Definition at line 40 of file nonzeros.hpp.

Inheritance diagram for casadi::NonZeros< M, K >:
Inheritance graph
[legend]

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)
 
operator+= (const M &y)
 
operator-= (const M &y)
 
operator*= (const M &y)
 
operator/= (const M &y)
 

Constructor & Destructor Documentation

◆ NonZeros() [1/2]

template<typename M , typename K >
casadi::NonZeros< M, K >::NonZeros ( M &  mat,
const K &  k 
)
inline

Definition at line 43 of file nonzeros.hpp.

◆ NonZeros() [2/2]

template<typename M , typename K >
casadi::NonZeros< M, K >::NonZeros ( const NonZeros< M, K > &  y)
default

Member Function Documentation

◆ operator*=()

template<typename M , typename K >
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.

◆ operator+=()

template<typename M , typename K >
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.

◆ operator-=()

template<typename M , typename K >
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.

◆ operator/=()

template<typename M , typename K >
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.

◆ operator=() [1/2]

template<typename M , typename K >
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.

◆ operator=() [2/2]

template<typename M , typename K >
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.


The documentation for this class was generated from the following file: