#include <matrix4x4.h>
Inheritance diagram for GVectors::Matrix4x4:

Public Member Functions | |
| Matrix4x4 () | |
| Constructor. | |
| Matrix4x4 (const Matrix4x4 &m) | |
| Copy constructor. | |
| const Matrix4x4 & | operator= (const Matrix4x4 &m) |
| Assignment operator. | |
| ~Matrix4x4 () | |
| Destructor. | |
| void | operator() (matindex_t r, matindex_t c, double v) |
| Shorthand operator for setting values. | |
| double | operator() (matindex_t r, matindex_t c) const |
| Shorthand operator for getting values. | |
| Matrix4x4 | operator+ (const Matrix4x4 &m) const |
| Addition operator. | |
| Matrix4x4 | operator- (const Matrix4x4 &m) const |
| Subtraction operator. | |
| Matrix4x4 | operator * (const Matrix4x4 &m) const |
| Multiplication operator for Matrix4x4 classes. | |
| Matrix4x1 | operator * (const Matrix4x1 &m) const |
| Multiplication operator for Matrix4x1 classes. | |
| Matrix4x4 | operator * (const double v) const |
| Multiplication operator for scaler values. | |
| Matrix4x4 | operator/ (const double v) const |
| Scalar division operator. | |
| Matrix4x4 & | operator+= (const Matrix4x4 &m) |
| Shorthand addition and assignment. | |
| Matrix4x4 & | operator *= (const Matrix4x4 &m) |
| classes. | |
| Matrix4x4 & | operator *= (const double v) |
| Shorthand multiplication and assignment for scalar values. | |
| Matrix4x4 & | operator/= (const double v) |
| Shorthand division and assignment for scalar values. | |
| bool | operator== (const Matrix4x4 &m) const |
| Equality operator. | |
| bool | operator!= (const Matrix4x4 &m) const |
| Inequality operator. | |
| GVectors::Matrix4x4::Matrix4x4 | ( | ) | [inline] |
Initializes the matrix to a 4x4 matrix.
| GVectors::Matrix4x4::Matrix4x4 | ( | const Matrix4x4 & | m | ) | [inline] |
| GVectors::Matrix4x4::~Matrix4x4 | ( | ) | [inline] |
Does nothing. Just for completeness.
Assigns another Matrix4x4 to this. The dimensions have to be identical, else an exception is thrown.
| m | A const reference to a Matrix4x4 object. |
| GVEInvalidMDimension | if the dimensions of the matrices are not identical. |
| void GVectors::Matrix4x4::operator() | ( | matindex_t | r, | |
| matindex_t | c, | |||
| double | v | |||
| ) | [inline] |
Shorthand operator for setting values.
| r | Row index. | |
| c | Column index. | |
| v | Value to set at the given position. |
| double GVectors::Matrix4x4::operator() | ( | matindex_t | r, | |
| matindex_t | c | |||
| ) | const [inline] |
Shorthand operator for getting values.
| r | Row index. | |
| c | Column index. |
| Matrix4x4 Matrix4x4::operator * | ( | const double | v | ) | const |
Multiplies a scalar value by this matrix.
| v | A scalar value. |
| Matrix4x4 GVectors::Matrix4x4::operator/ | ( | const double | v | ) | const [inline] |
Performs a division by multiplying with the reciprocal value of v.
| v | The dividend. |
Shorthand addition assignment operator.
| m | A const reference to a Matrix4x4 object. |
Shorthand multiplication assignment operator.
| m | A const reference to a Matrix4x4 object. |
| Matrix4x4 & Matrix4x4::operator *= | ( | const double | v | ) |
Shorthand multiplication assignment operator for scalar values.
| v | A scaler value. |
| Matrix4x4 & Matrix4x4::operator/= | ( | const double | v | ) |
Shorthand division assignment operator for scalar values.
| v | A scaler value. |
| bool Matrix4x4::operator== | ( | const Matrix4x4 & | m | ) | const |
| bool GVectors::Matrix4x4::operator!= | ( | const Matrix4x4 & | m | ) | const [inline] |
1.4.7