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 Fields

[more]typedef typename mat_traits<T>: :TSCAL TSCAL
scalar type of entry

Public Methods

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

Public Members

[more]typedef T TELEM
entry type

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

otypedef T TELEM
entry type

otypedef typename mat_traits<T>: :TSCAL TSCAL
scalar type of entry

o FlatMatrixFixWidth() throw()
nothing done in default constructor

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

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

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

o FlatMatrixFixWidth(FlatMatrix<TSCAL> & m) throw()
copy constructor. copies pointers, not contents

o ~FlatMatrixFixWidth() throw()
do nothing

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

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

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

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

oFlatMatrixFixWidth& operator= (TSCAL s) throw()
assign constant

oFlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & m) throw()
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 throw()
the height

oint Width() const throw()
the width


Direct child classes:
MatrixFixWidth

Alphabetic index HTML hierarchy of classes or Java



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