JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::Math::Mat3< Vec3 > Struct Template Reference

Minimal 3x3 matrix interface. More...

#include <JPLSpatial/Math/MinimalMat.h>

Public Types

using Float = Internal::FloatOf<Vec3>
 

Public Member Functions

JPL_INLINE constexpr Vec3 Transform (const Vec3 &v) const noexcept
 
JPL_INLINE constexpr Float Det () const
 
JPL_INLINE constexpr bool IsInvertible (Float eps=Float(1e-6)) const noexcept
 
constexpr bool TryInverse (Mat3 &out, Float eps=Float(1e-6)) const
 
JPL_INLINE constexpr Mat3 Inversed (Float eps=Float(1e-6)) const
 

Static Public Member Functions

static JPL_INLINE constexpr Mat3 Identity () noexcept
 
static JPL_INLINE constexpr Mat3 FromColumns (const Vec3 &l1, const Vec3 &l2, const Vec3 &l3) noexcept
 

Public Attributes

Vec3 C0
 
Vec3 C1
 
Vec3 C2
 

Detailed Description

template<CVec3 Vec3>
struct JPL::Math::Mat3< Vec3 >

Minimal 3x3 matrix interface.

Member Typedef Documentation

◆ Float

template<CVec3 Vec3>
using JPL::Math::Mat3< Vec3 >::Float = Internal::FloatOf<Vec3>

Member Function Documentation

◆ Det()

template<CVec3 Vec3>
JPL_INLINE constexpr Float JPL::Math::Mat3< Vec3 >::Det ( ) const
inlinenodiscardconstexpr

◆ FromColumns()

template<CVec3 Vec3>
static JPL_INLINE constexpr Mat3 JPL::Math::Mat3< Vec3 >::FromColumns ( const Vec3 & l1,
const Vec3 & l2,
const Vec3 & l3 )
inlinestaticnodiscardconstexprnoexcept

◆ Identity()

template<CVec3 Vec3>
static JPL_INLINE constexpr Mat3 JPL::Math::Mat3< Vec3 >::Identity ( )
inlinestaticnodiscardconstexprnoexcept

◆ Inversed()

template<CVec3 Vec3>
JPL_INLINE constexpr Mat3 JPL::Math::Mat3< Vec3 >::Inversed ( Float eps = Float(1e-6)) const
inlinenodiscardconstexpr

◆ IsInvertible()

template<CVec3 Vec3>
JPL_INLINE constexpr bool JPL::Math::Mat3< Vec3 >::IsInvertible ( Float eps = Float(1e-6)) const
inlinenodiscardconstexprnoexcept

◆ Transform()

template<CVec3 Vec3>
JPL_INLINE constexpr Vec3 JPL::Math::Mat3< Vec3 >::Transform ( const Vec3 & v) const
inlinenodiscardconstexprnoexcept

◆ TryInverse()

template<CVec3 Vec3>
bool JPL::Math::Mat3< Vec3 >::TryInverse ( Mat3< Vec3 > & out,
Float eps = Float(1e-6) ) const
inlinenodiscardconstexpr

Member Data Documentation

◆ C0

template<CVec3 Vec3>
Vec3 JPL::Math::Mat3< Vec3 >::C0

◆ C1

template<CVec3 Vec3>
Vec3 JPL::Math::Mat3< Vec3 >::C1

◆ C2

template<CVec3 Vec3>
Vec3 JPL::Math::Mat3< Vec3 >::C2

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