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

Detailed Description

template<class T, int _Rows>
class gismo::gsAsConstVector< T, _Rows >

Creates a mapped object or data pointer to a const vector 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
+ Inheritance diagram for gsAsConstVector< T, _Rows >:
+ Collaboration diagram for gsAsConstVector< T, _Rows >:

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
inlineinherited

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
inlineinherited

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
inlineinherited

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.