NGSolve  4.9
Public Member Functions
ngbla::Expr< T > Class Template Reference

Expr is the base class for all matrix template expressions. More...

#include <expr.hpp>

Inheritance diagram for ngbla::Expr< T >:
ngbla::MatExpr< T > ngbla::CMCPMatExpr< T >

List of all members.

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)

Detailed Description

template<typename T>
class ngbla::Expr< T >

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.


The documentation for this class was generated from the following file: