class TMatrix


Definition#include <kalamaris/tmatrix.h>
InheritsT [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

Map *** matrix

[protected: ]

unsigned int nrows

[protected: ]

unsigned int ncols

[protected: ]

unsigned int maxrows

[protected: ]

unsigned int maxcols

[protected: ]

void  expandRows (unsigned int i)

[protected: ]

expandRows make sure that the row with number i exists and if it doesn't, it expands the current matrix to be big enough

void  expandCols (unsigned int j)

[protected: ]

expandCols make sure that the column with number j exists and if it doesn't, it expands the current matrix to be big enough

bool m_autoExpand

[protected: ]

 TMatrix (unsigned int _rdim=1, unsigned int _cdim=1, Map ***_maps=0L)

 TMatrix ( const TMatrix &x)

 ~TMatrix ()

[virtual]

void  clear (void)

Deletes each element of the matrix (but doesn't change the dimensions)

const unsigned int  nRows (void)

[const]

const unsigned int  nCols (void)

[const]

TMatrixcopy (void)

[const virtual]

Reimplemented from T.

void  set (unsigned int i, unsigned int j, Map *m)

[virtual]

Sets the element (i,j) to point to m. Note that this method doesn't make a copy of m, but points directly to m. This is better in case you don't need that map anymore, so that your TMatrix object manages it from now on. If you want to keep your map object (for example, because it's already managed by another TMatrix object) you can use m->copy() instead of m

void  setCol (unsigned int j, TMatrix *v, unsigned int vj, bool managev=false)

[virtual]

Sets the column j to point to the elements in the column vj of v. This method just "reparents" the elements of v to this object. If you don't want to do that (but using a copy of v

void  setRow (unsigned int i, TMatrix *v, unsigned int vi, bool managev=false)

[virtual]

Mapat (unsigned int i, unsigned int j)

[const virtual]

Mapat (unsigned int i)

[const virtual]

Tt (unsigned int i)

[const virtual]

Tt (unsigned int i, unsigned int j)

[const virtual]

TtRef (unsigned int i)

[const virtual]

TtRef (unsigned int i, unsigned int j)

[const virtual]

TMatrixsubmatrix (unsigned int i0,unsigned int j0, unsigned i1, unsigned int j1)

[const virtual]

Returns a copy of the submatrix given by the elements from i0,j0 to i1,j1 (both included)

TMatrixcolumn (unsigned int j)

[const]

Returns a copy of the j-th column

TMatrixrow (unsigned int i)

[const]

Returns a copy of the i-th row

bool  isAutoExpandable (void)

[const]

void  setAutoExpand (bool b)

inline int  operator== ( TMatrix v1 )

[const virtual]

Reimplemented from T.

inline int  operator== ( double v1 )

[const virtual]

Reimplemented from T.

inline int  operator!= ( TMatrix v1 )

[const virtual]

Reimplemented from T.

inline int  operator!= ( double v1 )

[const virtual]

Reimplemented from T.

inline int  operator< ( TMatrix v1 )

[const virtual]

Reimplemented from T.

inline int  operator< ( double v1 )

[const virtual]

Reimplemented from T.

inline int  operator> ( TMatrix v1 )

[const virtual]

Reimplemented from T.

inline int  operator> ( double v1 )

[const virtual]

Reimplemented from T.

inline int  operator>= ( TMatrix v1 )

[const virtual]

Reimplemented from T.

inline int  operator>= ( double v1 )

[const virtual]

Reimplemented from T.

inline int  operator<= ( TMatrix v1 )

[const virtual]

Reimplemented from T.

inline int  operator<= ( double v1 )

[const virtual]

Reimplemented from T.

TMatrixoperator= ( const TMatrix &x )

Reimplemented from T.

TMatrixoperator= ( double &x )

Reimplemented from T.

TMatrixoperator+= ( const TMatrix &x )

[virtual]

Reimplemented from T.

TMatrixoperator-= ( const TMatrix &x )

[virtual]

Reimplemented from T.

TMatrixoperator*= ( const TMatrix &x )

[virtual]

Reimplemented from T.

TMatrixoperator/= ( const TMatrix &x )

[virtual]

Reimplemented from T.

void  traspose (void)

TdistMax (TMatrix *v,TMatrix *w)

[static]

TdistMaxCol (TMatrix *v, unsigned int c1, TMatrix *w, unsigned int c2)

[static]

TMatrixadd (TMatrix *&m1, TMatrix *&m2, bool managem1=false, bool managem2=false)

[static]

TMatrixsub (TMatrix *&m1, TMatrix *&m2, bool managem1=false, bool managem2=false)

[static]

TMatrixmul (TMatrix *&m1, TMatrix *&m2, bool managem1=false, bool managem2=false)

[static]

TMatrixmul (T *&c1, TMatrix *&m2, bool managem1=false, bool managem2=false)

[static]

TMatrixdiv (TMatrix *&m1, TMatrix *&m2, bool managem1=false, bool managem2=false)

[static]

TMatrixpow (TMatrix *&m1, T *&c2, bool managem1=false, bool managem2=false)

[static]

operator const  double ()

[const]

QString  string (void)

[const virtual]

Reimplemented from T.

QString  htmlString (void)

[const virtual]

const char * isA ()

[const virtual]

Reimplemented from T.

bool  isA (const char *str)

[const virtual]

Reimplemented from T.

void  load (const QString &file)

[virtual]


Generated by: antonio@tazend on Fri May 25 22:16:00 2001, using kdoc 2.0a38.