G+Smo  23.12.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsAsMatrix< T, _Rows, _Cols > Class Template Reference

Detailed Description

template<class T, int _Rows, int _Cols>
class gismo::gsAsMatrix< T, _Rows, _Cols >

Creates a mapped object or data pointer to a matrix without copying data.

This allows for re-indexing the matrix. No copying is taking place and the original matrix remains untached.

Template Parameters
Tcoefficient type

Inherits Map< gsEigen::Matrix< T, _Rows, _Cols > >.

Public Member Functions

void colMinor (index_t j, ColMinorMatrixType &result) const
 
void firstMinor (index_t i, index_t j, FirstMinorMatrixType &result) const
 
void rowMinor (index_t i, RowMinorMatrixType &result) const
 

Member Function Documentation

void colMinor ( index_t  j,
ColMinorMatrixType result 
) const
inline

Returns the jth column minor, i.e. the matrix after removing row j from the matrix. After the operation the column size of the matrix is one less.

void firstMinor ( index_t  i,
index_t  j,
FirstMinorMatrixType result 
) const
inline

Returns the (i,j)-minor, i.e. the matrix after removing row i and column j from the matrix. After the operation the row and column size of the matrix is one less.

void rowMinor ( index_t  i,
RowMinorMatrixType result 
) const
inline

Returns the ith row minor, i.e. the matrix after removing row i from the matrix. After the operation the row size of the matrix is one less.