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

[more] FlatMatrixFixWidth()
[more] FlatMatrixFixWidth(int ah, T* adata)
set height and mem
[more] FlatMatrixFixWidth(int ah, LocalHeap & lh)
allocates at local heap
[more] FlatMatrixFixWidth(const FlatMatrixFixWidth & m)
copy constructor.
[more] ~FlatMatrixFixWidth()
do nothing
[more]void AssignMemory(int ah, LocalHeap & lh)
set size, and assign mem
[more]void AssignMemory(int ah, T* mem)
set size, and assign mem
[more]template<typename TB> FlatMatrixFixWidth& operator= (const Expr<TB> & m)
assign contents
[more]FlatMatrixFixWidth& operator= (const FlatMatrixFixWidth & m)
copy contents
[more]FlatMatrixFixWidth& operator= (TSCAL s)
assign constant
[more]FlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & 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 h
the height


Inherited from MatExpr:


Inherited from Expr:

oT* data
the data

oint h
the height

o FlatMatrixFixWidth()

o FlatMatrixFixWidth(int ah, T* adata)
set height and mem

o FlatMatrixFixWidth(int ah, LocalHeap & lh)
allocates at local heap

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

o ~FlatMatrixFixWidth()
do nothing

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

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

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

oFlatMatrixFixWidth& operator= (const FlatMatrixFixWidth & m)
copy contents

oFlatMatrixFixWidth& operator= (TSCAL s)
assign constant

oFlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & 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:
MatrixFixWidth

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.