|
tfel
|
#include <type_traits>#include "TFEL/Metaprogramming/InvalidType.hxx"#include "TFEL/TypeTraits/BaseType.hxx"#include "TFEL/TypeTraits/IsScalar.hxx"#include "TFEL/TypeTraits/IsInvalid.hxx"#include "TFEL/TypeTraits/IsFundamentalNumericType.hxx"#include "TFEL/TypeTraits/IsAssignableTo.hxx"#include "TFEL/Math/Forward/General.hxx"Classes | |
| struct | tfel::math::MathObjectTraitsBase< ValueType, SizeType > |
| a helper structure to define the MathObjectTraits more compactly More... | |
| struct | tfel::math::MathObjectTraits< MathObjectType > |
| a traits class describing a mathematical object More... | |
| struct | tfel::math::BaseType< T > |
| partial specialisation for math objects More... | |
Namespaces | |
| namespace | tfel |
| the namespace tfel encloses all the TFEL project. This namespace is empty. | |
| namespace | tfel::math |
| This namespace contains various classes and functions défining mathematical objects and numerical algorithms. | |
Concepts | |
| concept | tfel::math::MathObjectConcept |
Typedefs | |
| template<typename MathObjectType> | |
| using | tfel::math::numeric_type |
| a simple alias | |
| template<typename MathObjectType> | |
| using | tfel::math::index_type |
| a simple alias | |
Functions | |
| template<StandardArithmeticTypeConcept T> | |
| TFEL_HOST_DEVICE constexpr T & | tfel::math::base_type_cast (T &v) noexcept |
| cast the value to the base type | |
| template<StandardArithmeticTypeConcept T> | |
| TFEL_HOST_DEVICE constexpr const T & | tfel::math::base_type_cast (const T &v) noexcept |
| cast the value to the base type | |
| template<MathObjectConcept MathObjectType> | |
| TFEL_HOST_DEVICE constexpr unsigned short | tfel::math::getSpaceDimension () |
| an helper function to retrieve the space dimension associated with a math object. | |
| template<MathObjectConcept MathObjectType1, MathObjectConcept... MathObjectTypes> | |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::checkThatAllSpaceDimensionsAreEqual () noexcept |
| an helper function checking if all the given math objects have the space dimension. | |
Variables | |
| template<MathObjectConcept MathObjectType> | |
| constexpr auto | tfel::math::space_dimension |
| inline variable to retrieve the space dimension associated with a math object. | |