In file matrix.hpp:

template<int H, typename T = double> class MatrixFixHeight

A Matrix class with memory allocation/deallocation

Documentation

A Matrix class with memory allocation/deallocation

Inheritance:


Public Methods

[more] MatrixFixHeight(int aw)
allocate matrix of size ah * ah
[more] ~MatrixFixHeight()
delete memory
[more]void SetSize(int aw)
sets new size of matrix
[more]template<typename TB> MatrixFixHeight& operator= (const Expr<TB> & m)
assign matrix, sizes must match
[more]MatrixFixHeight& operator= (TSCAL s)
fill matrix with scalar


Inherited from FlatMatrixFixHeight:

Public Methods

ovoid AssignMemory(int aw, LocalHeap & lh)
ovoid AssignMemory(int aw, T* mem)
oFlatMatrixFixHeight& Assign(const FlatMatrixFixHeight & m)
oTELEM& operator() (int i)
oTELEM& operator() (int i, int j)
oconst TELEM& operator() (int i) const
oconst TELEM& operator() (int i, int j) const
oTELEM Eval(int i) const
oTELEM Eval(int i, int j) const
oconst TELEM& REval(int i) const
oconst TELEM& REval(int i, int j) const
oint Height() const
oint Width() const

Protected Fields

oT* data
oint w


Inherited from MatExpr:


Inherited from Expr:

o MatrixFixHeight(int aw)
allocate matrix of size ah * ah

o ~MatrixFixHeight()
delete memory

ovoid SetSize(int aw)
sets new size of matrix

otemplate<typename TB> MatrixFixHeight& operator= (const Expr<TB> & m)
assign matrix, sizes must match

oMatrixFixHeight& 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++.