Mjolnir Core
Core functionality of the Mjolnir API

◆ scalar_triple_product() [1/2]

constexpr auto scalar_triple_product ( const std::array< T_Type, 3 > &  a,
const std::array< T_Type, 3 > &  b,
const std::array< T_Type, 3 > &  c 
) -> T_Type
constexprnoexcept

Calculate the scalar triple product of 3 vectors.

Template Parameters
T_TypeData type of the vector elements and the returned value
Parameters
[in]aData of the first vector
[in]bData of the second vector
[in]cData of the third vector
Returns
Scalar triple product