class Matrix


Definition#include <data-flow/include/Matrix.h>
Template formMatrix<templateclass T>
InheritsObject
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

int rows

[protected]

int cols

[protected]

T * data

[protected]

 Matrix () : rows(0) , cols(0) , data(NULL)

 Matrix (const Matrix &mat, bool transpose=false) : rows(mat.rows) , cols(mat.cols) , data(new T [rows*cols])

 Matrix (int _rows, int _cols) : rows(_rows) , cols(_cols) , data(new T [_rows*_cols])

Matrix ()

[virtual]

void  resize (int _rows, int _cols)

T * operator [] (int i)

const T * operator [] (int i)

[const]

T & operator () (int i, int j)

const T & operator () (int i, int j)

[const]

int  nrows ()

[const]

int  ncols ()

[const]

void  transpose ()

void  printOn (ostream &out)

[const]

Reimplemented from Object.

void  readFrom (istream &in=cin)

Reimplemented from Object.


Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.