In file matrix.hpp:template<int W, typename T = double> class MatrixFixWidth
A Matrix class with memory allocation/deallocation
Documentation
A Matrix class with memory allocation/deallocation
Inheritance:
Public Methods
-
MatrixFixWidth(int ah)
- allocate matrix of size ah * ah
-
~MatrixFixWidth()
- delete memory
-
void SetSize(int ah)
- sets new size of matrix
-
template<typename TB> MatrixFixWidth& operator= (const Expr<TB> & m)
- assign matrix, sizes must match
-
MatrixFixWidth& operator= (TSCAL s)
- fill matrix with scalar
Public Methods
-
void AssignMemory(int ah, LocalHeap & lh)
-
void AssignMemory(int ah, T* mem)
-
FlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & m)
-
TELEM& operator() (int i)
-
TELEM& operator() (int i, int j)
-
const TELEM& operator() (int i) const
-
const TELEM& operator() (int i, int j) const
-
TELEM Eval(int i) const
-
TELEM Eval(int i, int j) const
-
const TELEM& REval(int i) const
-
const TELEM& REval(int i, int j) const
-
int Height() const
-
int Width() const
Protected Fields
-
T* data
-
int h
Inherited from MatExpr:
Inherited from Expr:
MatrixFixWidth(int ah)
- allocate matrix of size ah * ah
~MatrixFixWidth()
- delete memory
void SetSize(int ah)
- sets new size of matrix
template<typename TB> MatrixFixWidth& operator= (const Expr<TB> & m)
- assign matrix, sizes must match
MatrixFixWidth& operator= (TSCAL s)
- fill matrix with scalar
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.