|
My Project
|
Define geometric matrix. More...
#include "geometry/gmatrix.h"
Public Member Functions | |
| GMatrix () | |
| GMatrix (const GMatrix &other) | |
| GMatrix (GMatrix &&other) | |
| ~GMatrix () | |
| GMatrix & | operator= (GMatrix other) |
| GVector & | operator[] (const unsigned long index) |
| const GVector & | operator[] (const unsigned long index) const |
| GMatrix | operator- () |
| GMatrix | operator* (const double value) |
| GMatrix | operator* (const GMatrix &other) |
| bool | inverse () |
| GMatrix | transposition () |
| GMatrix::GMatrix | ( | ) |
Emty constructor. Creates matrix and sets it with zero values
Definition at line 5 of file gmatrix.cpp.
| GMatrix::GMatrix | ( | const GMatrix & | other | ) |
Constructor. Copies incoming matrix.
| [in] | other | Source matrix to copy. |
Definition at line 14 of file gmatrix.cpp.
| GMatrix::GMatrix | ( | GMatrix && | other | ) |
Constructor. Transfer incoming matrix.
| [in] | other | Source matrix to transfer. |
Definition at line 22 of file gmatrix.cpp.
| GMatrix::~GMatrix | ( | ) |
Destructor. Clears current matrix.
Definition at line 30 of file gmatrix.cpp.
| bool GMatrix::inverse | ( | ) |
Inverse current matrix
Definition at line 96 of file gmatrix.cpp.

| GMatrix GMatrix::operator* | ( | const double | value | ) |
Multiply each item of matrix by incoming value
| [in] | value | Value to multiply |
Definition at line 63 of file gmatrix.cpp.
Multiply matrix with incoming matrix
| [in] | other | Matrix to multiply |
Definition at line 77 of file gmatrix.cpp.
| GMatrix GMatrix::operator- | ( | ) |
Multiply each item of matrix by (-1)
Definition at line 56 of file gmatrix.cpp.
Sets matrix with sourse`s matrix values
| [in] | other | Source matrix to copy |
Definition at line 35 of file gmatrix.cpp.
| GVector & GMatrix::operator[] | ( | const unsigned long | index | ) |
Chooses row by index
| [in] | index | Index of choosen row |
Definition at line 46 of file gmatrix.cpp.
| const GVector & GMatrix::operator[] | ( | const unsigned long | index | ) | const |
Const method. Chooses row by index
| [in] | index | Index of choosen row |
Definition at line 51 of file gmatrix.cpp.
| GMatrix GMatrix::transposition | ( | ) |
1.8.12