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
-
typedef typename mat_traits<T>: :TSCAL TSCAL
- scalar type of entry
Public Methods
-
FlatMatrixFixWidth() throw()
- nothing done in default constructor
-
FlatMatrixFixWidth(int ah, T* adata) throw()
- set height and mem
-
FlatMatrixFixWidth(int ah, LocalHeap & lh) throw(LocalHeapOverflow)
- allocates at local heap
-
FlatMatrixFixWidth(const FlatMatrixFixWidth & m) throw()
- copy constructor.
-
FlatMatrixFixWidth(FlatMatrix<TSCAL> & m) throw()
- copy constructor.
-
~FlatMatrixFixWidth() throw()
- do nothing
-
void AssignMemory(int ah, LocalHeap & lh) throw(LocalHeapOverflow)
- set size, and assign mem
-
void AssignMemory(int ah, T* mem) throw()
- set size, and assign mem
-
template<typename TB> FlatMatrixFixWidth& operator= (const Expr<TB> & m)
- assign contents
-
FlatMatrixFixWidth& operator= (const FlatMatrixFixWidth & m) throw()
- copy contents
-
FlatMatrixFixWidth& operator= (TSCAL s) throw()
- assign constant
-
FlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & m) throw()
- copy size and pointers
-
TELEM& operator() (int i)
- access operator, linear access
-
TELEM& operator() (int i, int j)
- access operator
-
const TELEM& operator() (int i) const
- access operator, linear access
-
const TELEM& operator() (int i, int j) const
- access operator
-
int Height() const throw()
- the height
-
int Width() const throw()
- the width
Public Members
-
typedef T TELEM
- entry type
Protected Fields
-
T* data
- the data
-
int h
- the height
Inherited from MatExpr:
Inherited from Expr:
T* data
- the data
int h
- the height
typedef T TELEM
- entry type
typedef typename mat_traits<T>: :TSCAL TSCAL
- scalar type of entry
FlatMatrixFixWidth() throw()
- nothing done in default constructor
FlatMatrixFixWidth(int ah, T* adata) throw()
- set height and mem
FlatMatrixFixWidth(int ah, LocalHeap & lh) throw(LocalHeapOverflow)
- allocates at local heap
FlatMatrixFixWidth(const FlatMatrixFixWidth & m) throw()
- copy constructor. copies pointers, not contents
FlatMatrixFixWidth(FlatMatrix<TSCAL> & m) throw()
- copy constructor. copies pointers, not contents
~FlatMatrixFixWidth() throw()
- do nothing
void AssignMemory(int ah, LocalHeap & lh) throw(LocalHeapOverflow)
- set size, and assign mem
void AssignMemory(int ah, T* mem) throw()
- set size, and assign mem
template<typename TB> FlatMatrixFixWidth& operator= (const Expr<TB> & m)
- assign contents
FlatMatrixFixWidth& operator= (const FlatMatrixFixWidth & m) throw()
- copy contents
FlatMatrixFixWidth& operator= (TSCAL s) throw()
- assign constant
FlatMatrixFixWidth& Assign(const FlatMatrixFixWidth & m) throw()
- copy size and pointers
TELEM& operator() (int i)
- access operator, linear access
TELEM& operator() (int i, int j)
- access operator
const TELEM& operator() (int i) const
- access operator, linear access
const TELEM& operator() (int i, int j) const
- access operator
int Height() const throw()
- the height
int 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++.