User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
MatrixTC::MatrixTC(void)
MatrixTC::MatrixTC(SizeT,SizeT)
MatrixTC::RDim(void) const
MatrixTC::CDim(void) const
MatrixTC::operator+(const MatrixTC &) const
MatrixTC::operator-(const MatrixTC &) const
MatrixTC::operator+=(const MatrixTC &)
MatrixTC::operator+=(const DataT)
MatrixTC::operator-=(const MatrixTC &)
MatrixTC::operator-=(const DataT)
MatrixTC::operator*=(const DataT)
MatrixTC::operator/=(const DataT)
MatrixTC::operator*(const DataT) const
MatrixTC::operator*(const VectorTC &) const
MatrixTC::operator*(const MatrixTC &) const
SArray2dC::Copy(void) const
SArray2dC::Fill(const DataC &)
SArray2dC::operator[](const Index2dC &)
SArray2dC::operator[](const Index2dC &) const
SArray2dC::operator[](const IndexT)
SArray2dC::operator[](const IndexT) const
SArray2dC::Dim1(void) const
SArray2dC::Dim2(void) const
SArray2dC::Size(void) const
SArray2dC::Buffer(void)
SArray2dC::Buffer(void) const
SArray1dC::Copy(void) const
SArray1dC::operator=(const SArray1dC &)
SArray1dC::SArray1d(void) const
SArray1dC::SArray1d(void)
SArray1dC::Enlarge(const IntT) const
SArray1dC::Append(const SArray1dC &)
SArray1dC::Join(const SArray1dC &) const
SArray1dC::DebugAddresses(void) const
SArray1dC::RefCounter(void) const
SArray1dC::Buffer(void)
SArray1dC::Buffer(void) const
SizeBufferAccessC::operator=(DataC *)
SizeBufferAccessC::ReferenceElm(void) const
SizeBufferAccessC::ReferenceVoid(void) const
SizeBufferAccessC::Access(void) const
SizeBufferAccessC::DataStart(void) const
SizeBufferAccessC::N(void) const
SizeBufferAccessC::Size(void) const
SizeBufferAccessC::Limits(void) const
SizeBufferAccessC::Range(void) const
SizeBufferAccessC::IMin(void) const
SizeBufferAccessC::IMax(void) const
SizeBufferAccessC::operator[](const IndexT) const
SizeBufferAccessC::operator[](const IndexT)
SizeBufferAccessC::SAccess(void) const
SizeBufferAccessC::IsEmpty(void) const
SizeBufferAccessC::Contains(const IndexT) const
SizeBufferAccessC::ShrinkHigh(const SizeT)
SizeBufferAccessC::Swap(SizeBufferAccessC &)
SizeBufferAccessC::Attach(const SizeBufferAccessC &)
SizeBufferAccessC::Attach(const BufferAccessC &,const SizeT)
SizeBufferAccessC::operator+(const SizeT) const
SizeBufferAccessC::Fill(const DataC &)
SizeBufferAccessC::CopyFrom(const SizeBufferAccessC &)
MatrixTC<class DataT>
 
Templated matrix's.
 
include "amma/MatrixT.hh"
User Level:Default
Library:ClassWizard
Example:exEndPoint.cc
Section:Basic Types.Numerical Geometry.N-D
In Scope:std

Parent Classes:

Methods:
MatrixTC()
Default constructor.

MatrixTC(SizeT rows,SizeT cols)
Constructor.

SizeT RDim() const
Return the number of rows

SizeT CDim() const
Return the number of columns

MatrixTC<DataT> operator+(const MatrixTC<DataT> & mat) const
Sum 2 matrixes "MatrixTC" = "This" + mat

MatrixTC<DataT> operator-(const MatrixTC<DataT> & mat) const
Subtract 2 matrixes "MatrixTC" = "This" - mat

MatrixTC<DataT> & operator+=(const MatrixTC<DataT> & mat)
Add the matrix "mat": "This" = "This" + mat

MatrixTC<DataT> & operator+=(const DataT alpha)
Add scalar to each element of matrix i.e. "mat": "This" = "This" + alpha

MatrixTC<DataT> & operator-=(const MatrixTC<DataT> & mat)
Subtract the matrix "mat": "This" = "This" - mat

MatrixTC<DataT> & operator-=(const DataT alpha)
Subtract scalar from each element in the matrix "mat": "This" = "This" - alpha

MatrixTC<DataT> & operator*=(const DataT a)
Multiplication "Matrix" = "Matrix" * "Scalar"

MatrixTC<DataT> & operator/=(const DataT a)
Division "Matrix" = "Matrix" / "Scalar"

MatrixTC<DataT> operator*(const DataT a) const
Multiply this matrix by the scalar 'a'.

VectorTC<DataT> operator*(const VectorTC<DataT> & vector) const
Multiplication "VectorTC" = "This" * vector

MatrixTC<DataT> operator*(const MatrixTC<DataT> & mat) const
Multiplication "result" = "this" * "mat"

#include "amma/SArray2d.hh"
SArray2dC<DataT> Copy() const
Copy array.

void Fill(const DataT & d)
Fill array with value.

DataT & operator[](const Index2dC & i)
access to the item array[(i)]

const DataT & operator[](const Index2dC & i) const
return the item array[(i)]

SizeBufferAccessC<DataT> & operator[](const IndexT i)
access to the item array[(i)]

const SizeBufferAccessC<DataT> & operator[](const IndexT i) const
return the item array[(i)]

SizeT Dim1() const
Size.

SizeT Dim2() const
Size.

SizeT Size() const
Return the number of elements in the 2D array.
Special operations -----------------

BufferRC<DataT> & Buffer()
Access base data buffer.
Experts only.

const BufferRC<DataT> & Buffer() const
Constant access base data buffer.
Experts only.

#include "amma/SArray1d.hh"
SArray1dC<SizeBufferAccessC<DataC>> Copy() const
Creates a new physical copy of the array.

const SArray1dC<SizeBufferAccessC<DataC>> & operator=(const SArray1dC<SizeBufferAccessC<DataC>> & vv)
Assigment, as for a BIG_OBJECT. Access to the object and its parts. -----------------------------------

const SArray1dC<SizeBufferAccessC<DataC>> & SArray1d() const
Access to the whole constant array.

SArray1dC<SizeBufferAccessC<DataC>> & SArray1d()
Access to the whole array. Modifications of the representation -----------------------------------

SArray1dC<SizeBufferAccessC<DataC>> Enlarge(const IntT factor = 2) const
Enlarges the array by item duplications. Every item is duplicated 'factor' times. The return array is extended by adding of higher indexes.

SArray1dC<SizeBufferAccessC<DataC>> & Append(const SArray1dC<SizeBufferAccessC<DataC>> & a)
This array is extended by the length of the array 'a' and the contents of both arrays are copied to it. The function supports empty arrays.

SArray1dC<SizeBufferAccessC<DataC>> Join(const SArray1dC<SizeBufferAccessC<DataC>> & Oth) const
Join this Array and another into a new Array which is returned. This does not change either of its arguments. This is placed in the array first, followed by 'Oth'. Special operations ------------------

void DebugAddresses() const
Prints addresses into 'cerrAMMA'.

const BodyRefCounterC & RefCounter() const
Returns access to reference counter.

BufferRC<SizeBufferAccessC<DataC>> & Buffer()
Access base data buffer.
Experts only.

const BufferRC<SizeBufferAccessC<DataC>> & Buffer() const
Constant access base data buffer.
Experts only.

#include "amma/SBfAcc.hh"
const SizeBufferAccessC<SizeBufferAccessC<DataC>> & operator=(SizeBufferAccessC<DataC> * bp)
Changes the reference element to the element pointed by 'bp'. Access to the object --------------------

SizeBufferAccessC<DataC> * ReferenceElm(void) const
Returns the pointer to the reference element of the attached buffer. The reference element need not to be the valid element of the buffer.

void * ReferenceVoid(void) const
Returns the pointer to the reference element of the attached buffer. The reference element need not to be the valid element of the buffer. The function is intended to be used in printing.

const BufferAccessC<SizeBufferAccessC<DataC>> & Access(void) const
Returns this object.

SizeBufferAccessC<DataC> * DataStart() const
Returns the address of the first element of the buffer.

SizeT N() const
Returns the number of elements of the array.

SizeT Size() const
Returns the number of elements of the array.

const BufferSizeC & Limits() const
Returns the usable range of indeces expressed by this object.

const BufferSizeC & Range() const
Returns the usable range of indeces expressed by this object.

IndexT IMin() const
Returns the minimum index of the range of this access.

IndexT IMax() const
Returns the maximum index of the range of this access.

const SizeBufferAccessC<DataC> & operator[](const IndexT i) const
Read-only access to the ('i'+1)-th element of the buffer.

SizeBufferAccessC<DataC> & operator[](const IndexT i)
Read-write access to the ('i'+1)-th element of the buffer.

const SizeBufferAccessC<SizeBufferAccessC<DataC>> & SAccess(void) const
Returns this object. Logical functions -----------------

BooleanT IsEmpty() const
Returns TRUE if the size of the array is zero.

BooleanT Contains(const IndexT i) const
Returns TRUE if the array contains an item with the index 'i'. Modifications of the access ---------------------------

const BufferSizeC & ShrinkHigh(const SizeT k)
Changes the number of elements by subtracting the last 'k' elements.

const SizeBufferAccessC<SizeBufferAccessC<DataC>> & Swap(SizeBufferAccessC<SizeBufferAccessC<DataC>> & a)
Exchanges the contents of this buffer with buffer 'a'.

void Attach(const SizeBufferAccessC<SizeBufferAccessC<DataC>> & b)
Changes this buffer access to have the same access rights as 'b'.

void Attach(const BufferAccessC<SizeBufferAccessC<DataC>> & b,const SizeT size)
Changes this buffer access to have the access rights as 'b' limited for 'size' elements.

SizeBufferAccessC<SizeBufferAccessC<DataC>> operator+(const SizeT i) const
Creates the new access object shifted 'i' elements to the right (towards next elements). The size is descreased to fit the the original range of this access. Modifications of the buffer contents ------------------------------------

void Fill(const SizeBufferAccessC<DataC> & d)
'd' value is assigned to all elements of the buffer.

void CopyFrom(const SizeBufferAccessC<SizeBufferAccessC<DataC>> & oth)
Copy contents of another buffer into this one.
NB. Buffers MUST be the same length.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001