akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
Loading...
Searching...
No Matches
linalg::space_traits< SymmetricMatrix< Mat > > Struct Template Reference

type traits definition for symmetric matrices (subspace of R^n) More...

#include <operator_traits.hpp>

Public Types

using value_type = matrix_scalar_t< Mat >
 
using Point = Mat
 
using scalar_type = value_type
 
using element_type = Point
 
using coordinate_type = Vector< value_type, DIM >
 

Static Public Attributes

static constexpr std::size_t N = mat_rows_v<Mat>
 
static constexpr std::size_t DIM = N * (N + 1) / 2
 

Detailed Description

template<SquareMatrix Mat>
struct linalg::space_traits< SymmetricMatrix< Mat > >

type traits definition for symmetric matrices (subspace of R^n)

Definition at line 60 of file operator_traits.hpp.

Member Typedef Documentation

◆ coordinate_type

template<SquareMatrix Mat>
using linalg::space_traits< SymmetricMatrix< Mat > >::coordinate_type = Vector<value_type, DIM>

Definition at line 68 of file operator_traits.hpp.

◆ element_type

template<SquareMatrix Mat>
using linalg::space_traits< SymmetricMatrix< Mat > >::element_type = Point

Definition at line 64 of file operator_traits.hpp.

◆ Point

template<SquareMatrix Mat>
using linalg::space_traits< SymmetricMatrix< Mat > >::Point = Mat

Definition at line 62 of file operator_traits.hpp.

◆ scalar_type

template<SquareMatrix Mat>
using linalg::space_traits< SymmetricMatrix< Mat > >::scalar_type = value_type

Definition at line 63 of file operator_traits.hpp.

◆ value_type

template<SquareMatrix Mat>
using linalg::space_traits< SymmetricMatrix< Mat > >::value_type = matrix_scalar_t<Mat>

Definition at line 61 of file operator_traits.hpp.

Member Data Documentation

◆ DIM

template<SquareMatrix Mat>
constexpr std::size_t linalg::space_traits< SymmetricMatrix< Mat > >::DIM = N * (N + 1) / 2
staticconstexpr

Definition at line 67 of file operator_traits.hpp.

◆ N

template<SquareMatrix Mat>
constexpr std::size_t linalg::space_traits< SymmetricMatrix< Mat > >::N = mat_rows_v<Mat>
staticconstexpr

Definition at line 66 of file operator_traits.hpp.


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