This class describes a Matrix. More...
#include <Matrix.h>
Public Member Functions | |
double | getValue (int line, int column) const |
Matrix (unsigned lines, unsigned columns) | |
The constructor. | |
Matrix (const CMat2 matrix2) | |
Matrix (const CMat3 matrix3) | |
Matrix | operator* (double scalar) |
Matrix | operator* (const Matrix rhs) |
Matrix | operator+ (const Matrix rhs) |
Matrix | operator- (const Matrix rhs) |
Matrix | operator/ (double scalar) |
void | setValue (int line, int column, double value) |
Matrix | transpose () |
~Matrix () | |
The destructor. | |
Private Attributes | |
unsigned int | m_Columns |
unsigned int | m_Lines |
double * | m_Values |
Matrix::Matrix | ( | unsigned | lines, |
unsigned | columns | ||
) | [inline] |
Matrix::Matrix | ( | const CMat2 | matrix2 | ) | [inline] |
Matrix::Matrix | ( | const CMat3 | matrix3 | ) | [inline] |
Matrix::~Matrix | ( | ) | [inline] |
double Matrix::getValue | ( | int | line, |
int | column | ||
) | const [inline] |
void Matrix::setValue | ( | int | line, |
int | column, | ||
double | value | ||
) | [inline] |
unsigned int Matrix::m_Columns [private] |
unsigned int Matrix::m_Lines [private] |
double* Matrix::m_Values [private] |