|
NGSolve
4.9
|
A matrix of fixed size. More...
#include <matrix.hpp>
Public Types | |
| enum | { HEIGHT = H } |
| enum | { WIDTH = W } |
| typedef T | TELEM |
| typedef mat_traits< T >::TSCAL | TSCAL |
|
typedef Vec< H, typename mat_traits< T >::TV_COL > | TV_COL |
|
typedef Vec< W, typename mat_traits< T >::TV_ROW > | TV_ROW |
Public Member Functions | |
| Mat () throw () | |
| do not initialize | |
| Mat (const Mat &m) throw () | |
| copy matrix | |
| template<typename TB > | |
| Mat (const Expr< TB > &m) | |
| assign values | |
| Mat (TSCAL s) throw () | |
| fill with scalar | |
| template<typename TB > | |
| Mat & | operator= (const Expr< TB > &m) |
| assign values | |
| Mat & | operator= (const Mat &m) throw () |
| copy matrix | |
| Mat & | operator= (TSCAL s) throw () |
| fill values | |
| TELEM & | operator() (int i) |
| linear access | |
| TELEM & | operator() (int i, int j) |
| access element | |
| const TELEM & | operator() (int i) const |
| linear access | |
| const TELEM & | operator() (int i, int j) const |
| access element | |
| int | Height () const throw () |
| the height | |
| int | Width () const throw () |
| the width | |
| const FlatVec< W, T > | Row (int i) |
| const FlatVec< W, const T > | Row (int i) const |
| const FixSliceVector< W, T > | Col (int i) |
A matrix of fixed size.
Useful as entry type in system matrices,...
1.7.6.1