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

Detailed Description

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

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