SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::linearalgebra::MatrixAddition< M1, M2 > Class Template Reference

#include <MatrixExpr.h>

Public Attributes

const M1 & m1
 
const M2 & m2
 

Public Member Functions

 MatrixAddition (const M1 &m1, const M2 &m2)
 
bool valid () const
 
template<class M >
bool hasRef (const M *m) const
 
unsigned int rowSize (void) const
 
unsigned int colSize (void) const
 
std::string expr () const
 
template<class Dest >
void addTo (Dest *d) const
 

Attribute details

◆ m1

template<class M1 , class M2 >
const M1& sofa::linearalgebra::MatrixAddition< M1, M2 >::m1

◆ m2

template<class M1 , class M2 >
const M2& sofa::linearalgebra::MatrixAddition< M1, M2 >::m2

Constructor details

◆ MatrixAddition()

template<class M1 , class M2 >
sofa::linearalgebra::MatrixAddition< M1, M2 >::MatrixAddition ( const M1 &  m1,
const M2 &  m2 
)
inline

Function details

◆ addTo()

template<class M1 , class M2 >
template<class Dest >
void sofa::linearalgebra::MatrixAddition< M1, M2 >::addTo ( Dest *  d) const
inline

◆ colSize()

template<class M1 , class M2 >
unsigned int sofa::linearalgebra::MatrixAddition< M1, M2 >::colSize ( void  ) const
inline

◆ expr()

template<class M1 , class M2 >
std::string sofa::linearalgebra::MatrixAddition< M1, M2 >::expr ( ) const
inline

◆ hasRef()

template<class M1 , class M2 >
template<class M >
bool sofa::linearalgebra::MatrixAddition< M1, M2 >::hasRef ( const M *  m) const
inline

◆ rowSize()

template<class M1 , class M2 >
unsigned int sofa::linearalgebra::MatrixAddition< M1, M2 >::rowSize ( void  ) const
inline

◆ valid()

template<class M1 , class M2 >
bool sofa::linearalgebra::MatrixAddition< M1, M2 >::valid ( ) const
inline

Enum details

◆ anonymous enum

template<class M1 , class M2 >
anonymous enum
Enumerator
operand 

◆ anonymous enum

template<class M1 , class M2 >
anonymous enum
Enumerator
category 

◆ anonymous enum

template<class M1 , class M2 >
anonymous enum
Enumerator
m_index