#include <attitude-utils.hpp>
|
decimal | At (int i, int j) const |
|
Vec3 | Column (int) const |
|
Vec3 | Row (int) const |
|
decimal | Trace () const |
|
decimal | Det () const |
|
Mat3 | operator+ (const Mat3 &) const |
| Matrix Addition.
|
|
Mat3 | operator* (const Mat3 &) const |
| Matrix Multiplication.
|
|
Vec3 | operator* (const Vec3 &) const |
| Matrix-Vector Multiplication (Same as Vector::operator*(const Mat3 &))
|
|
Mat3 | operator* (const decimal &) const |
| Matrix-Scalar Multiplication.
|
|
Mat3 | Transpose () const |
|
Mat3 | Inverse () const |
|
|
decimal | x [9] |
| The matrix entries.
|
|
A Mat3 is a mutable object that represents a 3x3 Matrix
◆ At()
decimal found::Mat3::At |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
Obtains an entry in this Matrix
- Parameters
-
i | The row of the entry |
j | The column of the entry |
- Returns
- The value of the entry in this at (i, j)
◆ Column()
Vec3 found::Mat3::Column |
( |
int |
j | ) |
const |
Obtains one of the column vectors in this Matrix
- Parameters
-
j | The column of the vector |
- Returns
- The vector at column j
◆ Det()
decimal found::Mat3::Det |
( |
| ) |
const |
Obtains the determinant of this Matrix
- Returns
- The determinant of this
◆ Inverse()
Mat3 found::Mat3::Inverse |
( |
| ) |
const |
Obtains the inverse of this Matrix
- Returns
- The inverse Matrix of this
◆ Row()
Vec3 found::Mat3::Row |
( |
int |
i | ) |
const |
Obtains one of the row vectors in this Matrix
- Parameters
-
- Returns
- The vector at row i
◆ Trace()
decimal found::Mat3::Trace |
( |
| ) |
const |
Obtains the trace of this Matrix
- Returns
- The trace of this
◆ Transpose()
Mat3 found::Mat3::Transpose |
( |
| ) |
const |
Obtains the transpose of this Matrix
- Returns
- The transpose Matrix of this
The documentation for this class was generated from the following files: