Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
Matrix3.hpp File Reference

Namespaces

namespace  mundy

Concepts

concept  mundy::ValidMatrix3Type
 A temporary concept to check if a type is a valid Matrix3 type TODO(palmerb4): Extend this concept to contain all shared setters and getters for our quaternions.

Functions

template<typename T, ValidAccessor< T > Accessor, typename OutputType = std::conditional_t<std::is_integral_v<T>, double, T>>
auto mundy::cholesky (const AMatrix3< T, Accessor > &A) -> Matrix3< OutputType >
 Get the lower triangular matrix of the Cholesky decomposition of a symmetric positive definite matrix.
template<typename T, ValidAccessor< T > Accessor, typename OutputType = std::conditional_t<std::is_integral_v<T>, float, T>>
auto mundy::cholesky_f (const AMatrix3< T, Accessor > &A) -> Matrix3< OutputType >
AMatrix3<T, Accessor> views
template<typename T, ValidAccessor< T > Accessor>
constexpr auto mundy::get_matrix3_view (Accessor &&data)
 A helper function to create a AMatrix3<T, Accessor> based on a given (valid) accessor.
template<typename T, ValidAccessor< T > Accessor>
constexpr auto mundy::get_owning_matrix3 (Accessor &&data)