Geophysical Inversion and Modelling Library  v1.5.2-5-g042d7f36
GIMLI::ElementMatrixMap Class Reference

Public Member Functions

void add (Index row, const ElementMatrix< double > &Ai)
 
RVector mult (const RVector &a, const RVector &b, const RVector &m, const RVector &n) const
 
RVector mult (const RVector &a, const RVector &b) const
 
Index rows () const
 
Index cols () const
 

Protected Attributes

std::vector< RMatrixmat_
 
std::vector< IndexArray_ids
 
std::vector< Index > row_
 
Index rows_
 
Index cols_
 

Member Function Documentation

◆ mult()

RVector GIMLI::ElementMatrixMap::mult ( const RVector a,
const RVector b 
) const

Return (S_i * a) * b for all i

References GIMLI::Matrix< ValueType >::cols(), and GIMLI::Matrix< ValueType >::rows().