Implementation of the matrix More...
Inherits IMyList.
Public Member Functions | |
TMatrix (int numRows, int numColumns) | |
Constructor More... | |
void | SetComponent (double rowIndex, double columnIndex, double value) |
void | MultipleByScalar (double value) |
void | AddScalar (double value) |
void | SubstractScalar (double value) |
void | DivideByScalar (double value) |
TMatrix | Transpose () |
TMatrix | MultiplyByMatrix (TMatrix secMatrix) |
TVector | MultiplyByRowVector (TVector V) |
TVector | MultipleByColumnVector (TVector vector) |
void | Zero () |
double | GetDeterminant () |
Returns determinant of the matrix. Implemented just for matrix 2x2 and 3x3. More... | |
TMatrix | Clone () |
Returns deep copy of the matrix More... | |
Implementation of the matrix
TMatrix | ( | int | numRows, |
int | numColumns | ||
) |
Constructor
numRows | Number of rows |
numColumns | Number of columns |
void AddScalar | ( | double | value | ) |
value |
TMatrix Clone | ( | ) |
Returns deep copy of the matrix
void DivideByScalar | ( | double | value | ) |
value |
double GetDeterminant | ( | ) |
Returns determinant of the matrix. Implemented just for matrix 2x2 and 3x3.
void MultipleByScalar | ( | double | value | ) |
value |
void SetComponent | ( | double | rowIndex, |
double | columnIndex, | ||
double | value | ||
) |
rowIndex | |
columnIndex | |
value |
void SubstractScalar | ( | double | value | ) |
value |
TMatrix Transpose | ( | ) |
void Zero | ( | ) |