LOST
0.0.1
LOST: Open-source Star Tracker
|
3x3 vector with decimaling point components More...
#include <attitude-utils.hpp>
Public Member Functions | |
decimal | At (int i, int j) const |
Access the i,j-th element of the matrix. More... | |
Mat3 | operator+ (const Mat3 &) const |
Normal matrix addition. More... | |
Mat3 | operator* (const Mat3 &) const |
Naive matrix multiplication. More... | |
Vec3 | operator* (const Vec3 &) const |
Matrix-Vector multiplication. More... | |
Mat3 | operator* (const decimal &) const |
Matrix-Scalar multiplication. More... | |
Mat3 | Transpose () const |
Transpose of a matrix. More... | |
Vec3 | Column (int) const |
Get the column at index j. More... | |
Vec3 | Row (int) const |
Get the row at index i. More... | |
decimal | Trace () const |
Trace of a matrix. More... | |
decimal | Det () const |
Determinant of a matrix. More... | |
Mat3 | Inverse () const |
Inverse of a matrix. More... | |
Public Attributes | |
decimal | x [9] |
3x3 vector with decimaling point components
Definition at line 54 of file attitude-utils.hpp.
decimal lost::Mat3::At | ( | int | i, |
int | j | ||
) | const |
Access the i,j-th element of the matrix.
Definition at line 258 of file attitude-utils.cpp.
Vec3 lost::Mat3::Column | ( | int | j | ) | const |
Get the column at index j.
Definition at line 263 of file attitude-utils.cpp.
decimal lost::Mat3::Det | ( | ) | const |
Determinant of a matrix.
Definition at line 325 of file attitude-utils.cpp.
Mat3 lost::Mat3::Inverse | ( | ) | const |
Inverse of a matrix.
Definition at line 330 of file attitude-utils.cpp.
Matrix-Scalar multiplication.
Definition at line 302 of file attitude-utils.cpp.
Naive matrix multiplication.
Definition at line 282 of file attitude-utils.cpp.
Matrix-Vector multiplication.
Definition at line 293 of file attitude-utils.cpp.
Normal matrix addition.
Definition at line 273 of file attitude-utils.cpp.
Vec3 lost::Mat3::Row | ( | int | i | ) | const |
Get the row at index i.
Definition at line 268 of file attitude-utils.cpp.
decimal lost::Mat3::Trace | ( | ) | const |
Trace of a matrix.
Definition at line 320 of file attitude-utils.cpp.
Mat3 lost::Mat3::Transpose | ( | ) | const |
Transpose of a matrix.
Definition at line 311 of file attitude-utils.cpp.
decimal lost::Mat3::x[9] |
Definition at line 56 of file attitude-utils.hpp.