Routines for 2x2 matrices. More...
#include <FastMatrixMathHelper.h>
Public Types | |
using | Base_t = FastMatrixOperationsBase< T, 2 > |
using | Data_t = typename Base_t::Data_t |
using | Matrix_t = typename Base_t::Matrix_t |
Public Types inherited from lar::util::details::FastMatrixOperationsBase< T, 2 > | |
using | Data_t = T |
using | Matrix_t = std::array< Data_t, Dim *Dim > |
using | Vector_t = std::array< Data_t, Dim > |
Static Public Member Functions | |
static Data_t | Determinant (Matrix_t const &mat) |
Computes the determinant of a matrix. More... | |
static Matrix_t | InvertMatrix (Matrix_t const &mat, Data_t det) |
Computes the determinant of a matrix, using the provided determinant. More... | |
static Matrix_t | InvertSymmetricMatrix (Matrix_t const &mat, Data_t det) |
static Matrix_t | InvertMatrix (Matrix_t const &mat) |
Computes the determinant of a matrix. More... | |
static Matrix_t | InvertSymmetricMatrix (Matrix_t const &mat) |
Computes the determinant of a matrix. More... | |
Static Public Member Functions inherited from lar::util::details::FastMatrixOperationsBase< T, 2 > | |
static Vector_t | MatrixVectorProduct (Matrix_t const &mat, Vector_t const &vec) |
Returns the product of a square matrix times a column vector. More... | |
static constexpr Data_t | sqr (Data_t v) |
Static Public Attributes | |
static constexpr unsigned int | Dim = Base_t::Dim |
Static Public Attributes inherited from lar::util::details::FastMatrixOperationsBase< T, 2 > | |
static constexpr unsigned int | Dim |
matrix dimensions More... | |
Routines for 2x2 matrices.
Definition at line 254 of file FastMatrixMathHelper.h.
using lar::util::details::FastMatrixOperations< T, 2 >::Base_t = FastMatrixOperationsBase<T, 2> |
Definition at line 257 of file FastMatrixMathHelper.h.
using lar::util::details::FastMatrixOperations< T, 2 >::Data_t = typename Base_t::Data_t |
Definition at line 259 of file FastMatrixMathHelper.h.
using lar::util::details::FastMatrixOperations< T, 2 >::Matrix_t = typename Base_t::Matrix_t |
Definition at line 260 of file FastMatrixMathHelper.h.
|
inlinestatic |
Computes the determinant of a matrix.
Definition at line 263 of file FastMatrixMathHelper.h.
|
static |
Computes the determinant of a matrix, using the provided determinant.
Definition at line 379 of file FastMatrixMathHelper.h.
|
inlinestatic |
Computes the determinant of a matrix.
Definition at line 274 of file FastMatrixMathHelper.h.
|
static |
Computes the determinant of a symmatric matrix, using the provided determinant
Definition at line 392 of file FastMatrixMathHelper.h.
|
inlinestatic |
Computes the determinant of a matrix.
Definition at line 278 of file FastMatrixMathHelper.h.
|
static |
Definition at line 258 of file FastMatrixMathHelper.h.