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.
Inheritance:
Public Methods
-
FlatMatrixFixHeight()
-
FlatMatrixFixHeight(int aw, T* adata)
- set height and mem
-
FlatMatrixFixHeight(int aw, LocalHeap & lh)
- allocates at local heap
-
FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
- copy constructor.
-
~FlatMatrixFixHeight()
- do nothing
-
void AssignMemory(int aw, LocalHeap & lh)
- 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
-
TELEM Eval(int i) const
- access operator for expression templates
-
TELEM Eval(int i, int j) const
- access operator for expression templates
-
const TELEM& REval(int i) const
- access operator for expression templates
-
const TELEM& REval(int i, int j) const
- access operator for expression templates
-
int Height() const
- the height
-
int Width() const
- the width
Protected Fields
-
T* data
- the data
-
int w
- the width
Inherited from MatExpr:
Inherited from Expr:
T* data
- the data
int w
- the width
FlatMatrixFixHeight()
FlatMatrixFixHeight(int aw, T* adata)
- set height and mem
FlatMatrixFixHeight(int aw, LocalHeap & lh)
- allocates at local heap
FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
- copy constructor. copies pointers, not contents
~FlatMatrixFixHeight()
- do nothing
void AssignMemory(int aw, LocalHeap & lh)
- 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
TELEM Eval(int i) const
- access operator for expression templates
TELEM Eval(int i, int j) const
- access operator for expression templates
const TELEM& REval(int i) const
- access operator for expression templates
const TELEM& REval(int i, int j) const
- access operator for expression templates
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++.