NGSolve  4.9
Public Types | Public Member Functions | Protected Attributes
ngbla::SliceMatrix< T > Class Template Reference
Inheritance diagram for ngbla::SliceMatrix< T >:
ngbla::CMCPMatExpr< SliceMatrix< T > > ngbla::MatExpr< SliceMatrix< T > > ngbla::Expr< SliceMatrix< T > >

List of all members.

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 SliceMatrixoperator= (const Expr< TB > &m) const
 assign contents
SliceMatrixoperator= (TSCAL s) throw ()
 assign constant
TELEMoperator() (int i, int j) const
 access operator
TELEMoperator() (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

template<typename T = double>
class ngbla::SliceMatrix< T >


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