G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
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

◆ colMinor()

template<class T , int _Rows, int _Cols>
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.

◆ firstMinor()

template<class T , int _Rows, int _Cols>
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.

◆ rowMinor()

template<class T , int _Rows, int _Cols>
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.