dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
traits.xx File Reference

Type traits and concepts for linear algebra utilities. More...

import std;
import dxx.utils;

Classes

struct  dxx::math::detail::RealOf< T >

Namespaces

namespace  dxx::math
 The main namespace of the dxx::math module.

Concepts

concept  dxx::math::vector
 We can treat any input range as a vector.
concept  dxx::math::mut_vector
 A vector for which the elements can be written to.
concept  dxx::math::vector_like
 Vector for which the element type is convertible to a target vector's type.
concept  dxx::math::mut_vector_like
 Similar to vector_like, but also satisfies mut_vector.

Typedefs

template<typename T>
using dxx::math::RealOf = detail::RealOf<T>::Type
 (Non-cv-qualified) Real type of the linalg type

Detailed Description

Type traits and concepts for linear algebra utilities.