In file matrix.hpp:template<int H, typename T = double> class FlatMatrixFixHeight
A Matrix which height is known at compile time No memory allocation/deallocation.
Documentation
A Matrix which height is known at compile time
No memory allocation/deallocation. User must provide memory.
Matrix is stored colum-wise
Inheritance:
Public Fields
-
typedef typename mat_traits<T>: :TSCAL TSCAL
Public Methods
-
FlatMatrixFixHeight() throw()
-
FlatMatrixFixHeight(int aw, T* adata) throw()
- set height and mem
-
FlatMatrixFixHeight(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
- allocates at local heap
-
FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
- copy constructor.
-
~FlatMatrixFixHeight() throw()
- do nothing
-
void AssignMemory(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
- set size, and assign mem
-
void AssignMemory(int aw, T* mem)
- set size, and assign mem
-
template<typename TB> FlatMatrixFixHeight& operator= (const Expr<TB> & m)
- assign contents
-
FlatMatrixFixHeight& operator= (const FlatMatrixFixHeight & m)
- copy contents
-
FlatMatrixFixHeight& operator= (TSCAL s)
- assign constant
-
FlatMatrixFixHeight& Assign(const FlatMatrixFixHeight & m)
- copy size and pointers
-
TELEM& operator() (int i)
- access operator, linear access
-
TELEM& operator() (int i, int j)
- access operator
-
const TELEM& operator() (int i) const
- access operator, linear access
-
const TELEM& operator() (int i, int j) const
- access operator
-
int Height() const
- the height
-
int Width() const
- the width
Public Members
-
typedef T TELEM
Protected Fields
-
T* data
- the data
-
int w
- the width
Inherited from MatExpr:
Inherited from Expr:
T* data
- the data
int w
- the width
typedef T TELEM
typedef typename mat_traits<T>: :TSCAL TSCAL
FlatMatrixFixHeight() throw()
FlatMatrixFixHeight(int aw, T* adata) throw()
- set height and mem
FlatMatrixFixHeight(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
- allocates at local heap
FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
- copy constructor. copies pointers, not contents
~FlatMatrixFixHeight() throw()
- do nothing
void AssignMemory(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
- set size, and assign mem
void AssignMemory(int aw, T* mem)
- set size, and assign mem
template<typename TB> FlatMatrixFixHeight& operator= (const Expr<TB> & m)
- assign contents
FlatMatrixFixHeight& operator= (const FlatMatrixFixHeight & m)
- copy contents
FlatMatrixFixHeight& operator= (TSCAL s)
- assign constant
FlatMatrixFixHeight& Assign(const FlatMatrixFixHeight & m)
- copy size and pointers
TELEM& operator() (int i)
- access operator, linear access
TELEM& operator() (int i, int j)
- access operator
const TELEM& operator() (int i) const
- access operator, linear access
const TELEM& operator() (int i, int j) const
- access operator
int Height() const
- the height
int Width() const
- the width
- Direct child classes:
- MatrixFixHeight
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.