class TMatrix


Definition#include <tmatrix.h>
InheritsT
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members

void expandRows (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 (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

void clear (void)

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

void set (int i, 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 (int j, TMatrix *v,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


Generated by: antlarr@terminus on Wed May 31 08:19:51 2000, using kdoc 2.0a22.