|
JPL Spatial
Sound spatialization and propagation library
|
Minimal 2x2 matrix interface. More...
#include <JPLSpatial/Math/MinimalMat.h>
Public Types | |
| using | Float = std::remove_cvref_t< decltype(std::declval< Vec2 >().X)> |
Public Member Functions | |
| JPL_INLINE constexpr Vec2 | Transform (const Vec2 &p) const noexcept |
| JPL_INLINE constexpr Float | Det () const noexcept |
| JPL_INLINE constexpr bool | IsInvertible (Float eps=Float(1e-6)) const noexcept |
| constexpr bool | TryInverse (Mat2 &out, Float eps=Float(1e-6)) const |
| JPL_INLINE constexpr Mat2 | Inversed (Float eps=Float(1e-6)) const |
Static Public Member Functions | |
| static JPL_INLINE constexpr Mat2 | Identity () noexcept |
| static JPL_INLINE constexpr Mat2 | FromColumns (const Vec2 &l1, const Vec2 &l2) noexcept |
Public Attributes | |
| Vec2 | C0 |
| Vec2 | C1 |
| using JPL::Math::Mat2< Vec2 >::Float = std::remove_cvref_t<decltype(std::declval<Vec2>().X)> |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
| Vec2 JPL::Math::Mat2< Vec2 >::C0 |
| Vec2 JPL::Math::Mat2< Vec2 >::C1 |