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. Matrix is stored colum-wise

Inheritance:


Public Fields

[more]typedef typename mat_traits<T>: :TSCAL TSCAL

Public Methods

[more] FlatMatrixFixHeight() throw()
[more] FlatMatrixFixHeight(int aw, T* adata) throw()
set height and mem
[more] FlatMatrixFixHeight(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
allocates at local heap
[more] FlatMatrixFixHeight(const FlatMatrixFixHeight & m)
copy constructor.
[more] ~FlatMatrixFixHeight() throw()
do nothing
[more]void AssignMemory(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
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]int Height() const
the height
[more]int Width() const
the width

Public Members

[more]typedef T TELEM

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

otypedef T TELEM

otypedef typename mat_traits<T>: :TSCAL TSCAL

o FlatMatrixFixHeight() throw()

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

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

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

o ~FlatMatrixFixHeight() throw()
do nothing

ovoid AssignMemory(int aw, LocalHeap & lh) throw(LocalHeapOverflow)
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

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