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

[more] FlatMatrixFixHeight()
[more] FlatMatrixFixHeight(int aw, T* adata)
set height and mem
[more] FlatMatrixFixHeight(int aw, LocalHeap & lh)
allocates at local heap
[more] FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
copy constructor.
[more] ~FlatMatrixFixHeight()
do nothing
[more]void AssignMemory(int aw, LocalHeap & lh)
set size, and assign mem
[more]void AssignMemory(int aw, T* mem)
set size, and assign mem
[more]template<typename TB> FlatMatrixFixHeight& operator= (const Expr<TB> & m)
assign contents
[more]FlatMatrixFixHeight& operator= (const FlatMatrixFixHeight & m)
copy contents
[more]FlatMatrixFixHeight& operator= (TSCAL s)
assign constant
[more]FlatMatrixFixHeight& Assign(const FlatMatrixFixHeight & m)
copy size and pointers
[more]TELEM& operator() (int i)
access operator, linear access
[more]TELEM& operator() (int i, int j)
access operator
[more]const TELEM& operator() (int i) const
access operator, linear access
[more]const TELEM& operator() (int i, int j) const
access operator
[more]TELEM Eval(int i) const
access operator for expression templates
[more]TELEM Eval(int i, int j) const
access operator for expression templates
[more]const TELEM& REval(int i) const
access operator for expression templates
[more]const TELEM& REval(int i, int j) const
access operator for expression templates
[more]int Height() const
the height
[more]int Width() const
the width

Protected Fields

[more]T* data
the data
[more]int w
the width


Inherited from MatExpr:


Inherited from Expr:

oT* data
the data

oint w
the width

o FlatMatrixFixHeight()

o FlatMatrixFixHeight(int aw, T* adata)
set height and mem

o FlatMatrixFixHeight(int aw, LocalHeap & lh)
allocates at local heap

o FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
copy constructor. copies pointers, not contents

o ~FlatMatrixFixHeight()
do nothing

ovoid AssignMemory(int aw, LocalHeap & lh)
set size, and assign mem

ovoid AssignMemory(int aw, T* mem)
set size, and assign mem

otemplate<typename TB> FlatMatrixFixHeight& operator= (const Expr<TB> & m)
assign contents

oFlatMatrixFixHeight& operator= (const FlatMatrixFixHeight & m)
copy contents

oFlatMatrixFixHeight& operator= (TSCAL s)
assign constant

oFlatMatrixFixHeight& Assign(const FlatMatrixFixHeight & m)
copy size and pointers

oTELEM& operator() (int i)
access operator, linear access

oTELEM& operator() (int i, int j)
access operator

oconst TELEM& operator() (int i) const
access operator, linear access

oconst TELEM& operator() (int i, int j) const
access operator

oTELEM Eval(int i) const
access operator for expression templates

oTELEM Eval(int i, int j) const
access operator for expression templates

oconst TELEM& REval(int i) const
access operator for expression templates

oconst TELEM& REval(int i, int j) const
access operator for expression templates

oint Height() const
the height

oint 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++.