NGSolve
4.9
|
Expr is the base class for all matrix template expressions. More...
#include <expr.hpp>
Public Member Functions | |
T & | Spec () |
cast to specific type | |
const T & | Spec () const |
cast to specific type | |
int | Height () const |
height | |
int | Width () const |
void | Dump (ostream &ost) const |
SubMatrixExpr< T > | Rows (int first, int next) |
SubMatrixExpr< T > | Cols (int first, int next) |
SubMatrixExpr< T > | Rows (IntRange range) |
SubMatrixExpr< T > | Cols (IntRange range) |
RowsArrayExpr< T > | Rows (FlatArray< int > rows) |
ColsArrayExpr< T > | Cols (FlatArray< int > cols) |
Expr is the base class for all matrix template expressions.
Barton and Nackman Trick for template polymorphism, function Spec.
provides Height and Width of matrix. IsLinear allows linear matrix element access.