WvStreams
WvMatrix Class Reference

Public Member Functions

 WvMatrix (const int _m, const int _n, const int *_data=0)
 WvMatrix (const WvMatrix &mx)
WvMatrixoperator= (const WvMatrix &mx)
int & operator() (const int row, const int col)
int operator() (const int row, const int col) const
WvMatrix operator+ (const WvMatrix &rhs) const
WvMatrix operator* (const WvMatrix &rhs) const
WvString printable ()
 WvMatrix (const int _m, const int _n, const int *_data=0)
 WvMatrix (const WvMatrix &mx)
WvMatrixoperator= (const WvMatrix &mx)
int & operator() (const int row, const int col)
int operator() (const int row, const int col) const
WvMatrix operator+ (const WvMatrix &rhs) const
WvMatrix operator* (const WvMatrix &rhs) const
WvString printable ()

Public Attributes

int * data
int m
int n

Detailed Description

Constructor & Destructor Documentation

◆ WvMatrix() [1/2]

WvMatrix::WvMatrix ( const int _m,
const int _n,
const int * _data = 0 )

Definition at line 3 of file wvmatrix.cc.

◆ ~WvMatrix()

WvMatrix::~WvMatrix ( )

Definition at line 22 of file wvmatrix.cc.

◆ WvMatrix() [2/2]

WvMatrix::WvMatrix ( const WvMatrix & mx)

Definition at line 28 of file wvmatrix.cc.

Member Function Documentation

◆ operator=()

WvMatrix & WvMatrix::operator= ( const WvMatrix & mx)

Definition at line 36 of file wvmatrix.cc.

◆ operator()() [1/4]

int & WvMatrix::operator() ( const int row,
const int col )
inline

◆ operator()() [2/4]

int WvMatrix::operator() ( const int row,
const int col ) const
inline

◆ operator+()

WvMatrix WvMatrix::operator+ ( const WvMatrix & rhs) const

Definition at line 49 of file wvmatrix.cc.

◆ operator*()

WvMatrix WvMatrix::operator* ( const WvMatrix & rhs) const

Definition at line 63 of file wvmatrix.cc.

◆ printable()

WvString WvMatrix::printable ( )

Definition at line 85 of file wvmatrix.cc.

◆ operator()() [3/4]

int & WvMatrix::operator() ( const int row,
const int col )
inline

Definition at line 21 of file include/wvmatrix.h.

◆ operator()() [4/4]

int WvMatrix::operator() ( const int row,
const int col ) const
inline

Definition at line 23 of file include/wvmatrix.h.

Member Data Documentation

◆ data

int * WvMatrix::data

◆ m

int WvMatrix::m

◆ n

int WvMatrix::n

The documentation for this class was generated from the following files: