In file matrix.hpp:template<int W, typename T = double> class FlatMatrixFixWidth
A Matrix with width known at compile time No memory allocation/deallocation.
Documentation
A Matrix with width known at compile time
No memory allocation/deallocation. User must provide memory.
Inheritance:
Public Methods
-
FlatMatrixFixWidth()
-
FlatMatrixFixWidth(int ah, T* adata)
- set height and mem
-
FlatMatrixFixWidth(int ah, LocalHeap & lh)
- allocates at local heap
-
FlatMatrixFixWidth(const FlatMatrixFixWidth & m)
- copy constructor.
-
~FlatMatrixFixWidth()
- do nothing
-
void AssignMemory(int ah, LocalHeap & lh)
- set size, and assign mem
-
void AssignMemory(int ah, T* mem)
- set size, and assign mem
-
template<typename TB> FlatMatrixFixWidth& operator= (const Expr<TB> & m)
- assign contents
-
FlatMatrixFixWidth& operator= (const FlatMatrixFixWidth & m)
- copy contents
-
FlatMatrixFixWidth& operator= (TSCAL s)
- assign constant
-
FlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & 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 h
- the height
Inherited from MatExpr:
Inherited from Expr:
- T* data
- the data
- int h
- the height
- FlatMatrixFixWidth()
- FlatMatrixFixWidth(int ah, T* adata)
- set height and mem
- FlatMatrixFixWidth(int ah, LocalHeap & lh)
- allocates at local heap
- FlatMatrixFixWidth(const FlatMatrixFixWidth & m)
- copy constructor. copies pointers, not contents
- ~FlatMatrixFixWidth()
- do nothing
- void AssignMemory(int ah, LocalHeap & lh)
- set size, and assign mem
- void AssignMemory(int ah, T* mem)
- set size, and assign mem
- template<typename TB> FlatMatrixFixWidth& operator= (const Expr<TB> & m)
- assign contents
- FlatMatrixFixWidth& operator= (const FlatMatrixFixWidth & m)
- copy contents
- FlatMatrixFixWidth& operator= (TSCAL s)
- assign constant
- FlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & 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:
- MatrixFixWidth
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.