Static Public Member Functions | List of all members
lar::util::details::DeterminantHelper< T, N, R, C > Struct Template Reference

Determinant of a 1x1 submatrix. More...

#include <FastMatrixMathHelper.h>

Inheritance diagram for lar::util::details::DeterminantHelper< T, N, R, C >:
lar::util::details::DeterminantHelperBase< N >

Static Public Member Functions

static T compute (T const *data)
 
- Static Public Member Functions inherited from lar::util::details::DeterminantHelperBase< N >
static constexpr size_t index (unsigned int row, unsigned int col)
 

Detailed Description

template<typename T, unsigned int N, unsigned int R, unsigned int C>
struct lar::util::details::DeterminantHelper< T, N, R, C >

Determinant of a 1x1 submatrix.

Definition at line 150 of file FastMatrixMathHelper.h.

Member Function Documentation

template<typename T , unsigned int N, unsigned int R, unsigned int C>
static T lar::util::details::DeterminantHelper< T, N, R, C >::compute ( T const *  data)
inlinestatic

Definition at line 155 of file FastMatrixMathHelper.h.

155 { return data[index(R, C)]; }
static constexpr size_t index(unsigned int row, unsigned int col)

The documentation for this struct was generated from the following file: