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

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


Inherited from FlatMatrixFixWidth:

Public Methods

ovoid AssignMemory(int ah, LocalHeap & lh)
ovoid AssignMemory(int ah, T* mem)
oFlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & 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 h


Inherited from MatExpr:


Inherited from Expr:

o MatrixFixWidth(int ah)
allocate matrix of size ah * ah

o ~MatrixFixWidth()
delete memory

ovoid SetSize(int ah)
sets new size of matrix

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

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