|
NGSolve
4.9
|
Public Types | |
| enum | { IS_LINEAR = 0 } |
| typedef T | TELEM |
| element type | |
| typedef mat_traits< T >::TSCAL | TSCAL |
| scalar type of elements (double or Complex) | |
Public Member Functions | |
| SliceMatrix (int ah, int aw, int adist, T *adata) throw () | |
| set height, width, and mem | |
| SliceMatrix (const FlatMatrix< T > &mat) | |
| template<typename TB > | |
| const SliceMatrix & | operator= (const Expr< TB > &m) const |
| assign contents | |
| SliceMatrix & | operator= (TSCAL s) throw () |
| assign constant | |
| TELEM & | operator() (int i, int j) const |
| access operator | |
| TELEM & | operator() (int i) const |
| access operator, linear access | |
| int | Height () const throw () |
| the height | |
| int | Width () const throw () |
| the width | |
| int | Dist () const throw () |
| const SliceMatrix | Rows (int first, int next) const |
| const FlatVector< T > | Row (int i) const |
| const SliceVector< T > | Col (int i) const |
| const SliceMatrix< T > | Cols (int first, int next) const |
| const SliceMatrix | Rows (IntRange range) const |
| const SliceMatrix< T > | Cols (IntRange range) const |
Protected Attributes | |
| int | h |
| the height | |
| int | w |
| the width | |
| int | dist |
| the distance | |
| T * | data |
| the data | |
1.7.6.1