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 | |
DoubleSliceMatrix (int ah, int aw, int adistr, int adistc, T *adata) throw () | |
set height, width, and mem | |
template<typename TB > | |
const DoubleSliceMatrix & | operator= (const Expr< TB > &m) const |
assign contents | |
DoubleSliceMatrix & | 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 | |
Protected Attributes | |
int | h |
the height | |
int | w |
the width | |
int | distr |
the distance | |
int | distc |
T * | data |
the data |