LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Base class with common definitions for "fast" matrix operations. More...
#include "FastMatrixMathHelper.h"
Public Types | |
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 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 = DIM |
matrix dimensions More... | |
Base class with common definitions for "fast" matrix operations.
Definition at line 34 of file FastMatrixMathHelper.h.
using lar::util::details::FastMatrixOperationsBase< T, DIM >::Data_t = T |
Definition at line 35 of file FastMatrixMathHelper.h.
using lar::util::details::FastMatrixOperationsBase< T, DIM >::Matrix_t = std::array<Data_t, Dim*Dim> |
Definition at line 39 of file FastMatrixMathHelper.h.
using lar::util::details::FastMatrixOperationsBase< T, DIM >::Vector_t = std::array<Data_t, Dim> |
Definition at line 40 of file FastMatrixMathHelper.h.
|
static |
Returns the product of a square matrix times a column vector.
Definition at line 362 of file FastMatrixMathHelper.h.
References lar::util::details::FastMatrixOperationsBase< T, DIM >::Dim, and lar::util::details::FastMatrixOperations< T, DIM >::InvertMatrix().
Referenced by lar::util::details::FastMatrixOperations< T, 4 >::InvertSymmetricMatrix().
|
inlinestatic |
Definition at line 47 of file FastMatrixMathHelper.h.
|
static |
matrix dimensions
Definition at line 37 of file FastMatrixMathHelper.h.
Referenced by lar::util::details::FastMatrixOperations< T, 2 >::InvertMatrix(), lar::util::details::FastMatrixOperations< T, 3 >::InvertMatrix(), lar::util::details::FastMatrixOperations< T, 4 >::InvertMatrix(), lar::util::details::FastMatrixOperations< T, 2 >::InvertSymmetricMatrix(), lar::util::details::FastMatrixOperations< T, 3 >::InvertSymmetricMatrix(), lar::util::details::FastMatrixOperations< T, 4 >::InvertSymmetricMatrix(), and lar::util::details::FastMatrixOperationsBase< T, DIM >::MatrixVectorProduct().