23template <MatrixContainer Mat>
41template <MatrixContainer Mat>
46 static constexpr std::size_t dim =
Field classified by scalar_traits as real.
std::remove_cvref_t< T > remove_cvref_t
Remove top-level const, volatile, and reference qualification.
typename scalar_traits_t< T >::real_type real_type_t
Associated real component type registered for T.
constexpr T constexpr_sqrt_safe(T x, T floor=T(0), T g=1e-10, T tol=1e-10)
Return a scalar square root with a sanitized fallback radicand.
constexpr std::size_t mat_rows_v
Registered compile-time row count after cv/ref normalization.
typename mat_traits< remove_cvref_t< Mat > >::value_type matrix_scalar_t
Registered matrix scalar type after cv/ref normalization.
compute the frobenius norm of a matrix
constexpr codomain_type operator()(const domain_type &matrix) const
remove_cvref_t< Mat > domain_type
matrix_scalar_t< domain_type > scalar_type
real_type_t< scalar_type > codomain_type
remove_cvref_t< Mat > domain_type
matrix_scalar_t< domain_type > scalar_type
real_type_t< scalar_type > codomain_type