|
mal-math
C++20 mathematics library.
|
Classes | |
| struct | is_default_vec |
| Trait to determine if a type is a default vector. More... | |
| struct | is_default_vec< vec< size, T > > |
| Trait to determine if a type is a default vector. More... | |
| struct | is_mat |
| Trait to determine if a type is a matrix. More... | |
| struct | is_mat< mat< a, b, T > > |
| Trait to determine if a type is a matrix. More... | |
| struct | is_mat< rmat< a, b, T > > |
| Trait to determine if a type is a matrix. More... | |
| struct | is_reference_vec |
| Trait to determine if a type is a reference vector. More... | |
| struct | is_reference_vec< _detail::rvec< size, T > > |
| Trait to determine if a type is a reference vector. More... | |
| class | primitive_reference_wrapper |
| Reference wrapper for primitives which does not allow rebinding after instantiation. More... | |
| struct | rvec |
Internal detail definition of a reference vector with fixed size L and type T More... | |
| struct | rvec< 2, T > |
| Specialization of rvec for 2D vectors. More... | |
| struct | rvec< 3, T > |
| 3D reference vector template structure. More... | |
| struct | rvec< 4, T > |
| A 4-dimensional reference vector template. More... | |
Variables | |
| template<class T > | |
| constexpr bool | is_mat_v = is_mat<T>::value |
| Boolean value which is true if the given type is a matrix. | |
| template<class T > | |
| constexpr bool | is_reference_vec_v = is_reference_vec<T>::value |
| Boolean value which is true if the given type is a reference vector. | |
| template<class T > | |
| constexpr bool | is_default_vec_v = is_default_vec<T>::value |
| Boolean value which is true if the given type is a common vector. | |
| template<class T > | |
| constexpr bool | is_vec_v = is_reference_vec_v<T> || is_default_vec_v<T> |
| Boolean value which is true if the given type is any vector. | |
|
constexpr |
Boolean value which is true if the given type is a common vector.
Definition at line 177 of file math-common.hpp.
|
constexpr |
Boolean value which is true if the given type is a matrix.
Definition at line 170 of file math-common.hpp.
|
constexpr |
Boolean value which is true if the given type is a reference vector.
Definition at line 174 of file math-common.hpp.
|
constexpr |
Boolean value which is true if the given type is any vector.
Definition at line 180 of file math-common.hpp.