LOST 0.0.1
LOST: Open-source Star Tracker
Loading...
Searching...
No Matches
lost::Mat3 Class Reference

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.
Mat3 operator+ (const Mat3 &) const
 Normal matrix addition.
Mat3 operator* (const Mat3 &) const
 Naive matrix multiplication.
Vec3 operator* (const Vec3 &) const
 Matrix-Vector multiplication.
Mat3 operator* (const decimal &) const
 Matrix-Scalar multiplication.
Mat3 Transpose () const
 Transpose of a matrix.
Vec3 Column (int) const
 Get the column at index j.
Vec3 Row (int) const
 Get the row at index i.
decimal Trace () const
 Trace of a matrix.
decimal Det () const
 Determinant of a matrix.
Mat3 Inverse () const
 Inverse of a matrix.

Public Attributes

decimal x [9]

Detailed Description

3x3 vector with decimaling point components

Definition at line 61 of file attitude-utils.hpp.

Member Function Documentation

◆ At()

decimal lost::Mat3::At ( int i,
int j ) const

Access the i,j-th element of the matrix.

Definition at line 272 of file attitude-utils.cpp.

Here is the caller graph for this function:

◆ Column()

Vec3 lost::Mat3::Column ( int j) const

Get the column at index j.

Definition at line 277 of file attitude-utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Det()

decimal lost::Mat3::Det ( ) const

Determinant of a matrix.

Definition at line 339 of file attitude-utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Inverse()

Mat3 lost::Mat3::Inverse ( ) const

Inverse of a matrix.

Definition at line 344 of file attitude-utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*() [1/3]

Mat3 lost::Mat3::operator* ( const decimal & s) const

Matrix-Scalar multiplication.

Definition at line 316 of file attitude-utils.cpp.

Here is the call graph for this function:

◆ operator*() [2/3]

Mat3 lost::Mat3::operator* ( const Mat3 & other) const

Naive matrix multiplication.

Definition at line 296 of file attitude-utils.cpp.

◆ operator*() [3/3]

Vec3 lost::Mat3::operator* ( const Vec3 & vec) const

Matrix-Vector multiplication.

Definition at line 307 of file attitude-utils.cpp.

Here is the call graph for this function:

◆ operator+()

Mat3 lost::Mat3::operator+ ( const Mat3 & other) const

Normal matrix addition.

Definition at line 287 of file attitude-utils.cpp.

Here is the call graph for this function:

◆ Row()

Vec3 lost::Mat3::Row ( int i) const

Get the row at index i.

Definition at line 282 of file attitude-utils.cpp.

Here is the call graph for this function:

◆ Trace()

decimal lost::Mat3::Trace ( ) const

Trace of a matrix.

Definition at line 334 of file attitude-utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Transpose()

Mat3 lost::Mat3::Transpose ( ) const

Transpose of a matrix.

Definition at line 325 of file attitude-utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ x

decimal lost::Mat3::x[9]

Definition at line 63 of file attitude-utils.hpp.


The documentation for this class was generated from the following files: