|
tfel
|
03 jan. 2012 More...
#include <array>#include <numeric>#include <concepts>#include <algorithm>#include <type_traits>#include "TFEL/Config/TFELConfig.hxx"#include "TFEL/Metaprogramming/InvalidType.hxx"#include "TFEL/TypeTraits/BaseType.hxx"#include "TFEL/TypeTraits/IsFundamentalNumericType.hxx"#include "TFEL/Math/Forward/General.hxx"#include "TFEL/Math/Forward/Unit.hxx"Classes | |
| struct | tfel::math::QuantityTraits< typename > |
| an helper structure to retrieve the underlying numeric type and unit from a type when this is meaningful. More... | |
| struct | tfel::math::QuantityTraits< Quantity< QuantityUnitType, QuantityValueType, QuantityOwnershipPolicy > > |
| partial specialisation for quantities. More... | |
| struct | tfel::math::MakeQuantityReferenceType< QuantityType > |
| an helper metafunction which transforms a quantity type into the a reference More... | |
| struct | tfel::math::MakeQuantityReferenceType< qt< UnitType, ValueType > > |
| partial specialisation for quantities More... | |
| struct | tfel::typetraits::BaseType< QuantityType > |
| partial specialisation for quantities More... | |
| struct | tfel::typetraits::IsFundamentalNumericType< QuantityType > |
| Partial specialisation for qt. More... | |
| struct | tfel::typetraits::IsFundamentalNumericType< const QuantityType > |
| Partial specialisation for qt. 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. | |
| namespace | tfel::math::internals |
| This namespace contains classes, functions, metafunctions and data structures that are used internally in the tfel::math namespace and that are meant to be used by the end user. | |
Concepts | |
| concept | tfel::math::ImmutableQuantityConcept |
| concept | tfel::math::QuantityConcept |
| concept | tfel::math::NoUnitImmutableQuantityConcept |
| concept | tfel::math::NoUnitQuantityConcept |
Typedefs | |
| template<ImmutableQuantityConcept T> | |
| using | tfel::math::quantity_unit = typename QuantityTraits<T>::UnitType |
| template<ImmutableQuantityConcept T> | |
| using | tfel::math::qt_rebind = qt<quantity_unit<T>, base_type<T>> |
| template<FundamentalNumericTypeConcept ValueType, int N1 = 0, int N2 = 0, int N3 = 0, int N4 = 0, int N5 = 0, int N6 = 0, int N7 = 0, unsigned int D1 = 1, unsigned int D2 = 1, unsigned int D3 = 1, unsigned int D4 = 1, unsigned int D5 = 1, unsigned int D6 = 1, unsigned int D7 = 1> | |
| using | tfel::math::quantity |
| a simple alias | |
| template<bool use_qt, FundamentalNumericTypeConcept ValueType, int N1 = 0, int N2 = 0, int N3 = 0, int N4 = 0, int N5 = 0, int N6 = 0, int N7 = 0, unsigned int D1 = 1, unsigned int D2 = 1, unsigned int D3 = 1, unsigned int D4 = 1, unsigned int D5 = 1, unsigned int D6 = 1, unsigned int D7 = 1> | |
| using | tfel::math::quantity_or_base_type |
| a simple alias | |
Functions | |
| template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType, typename OwnershipPolicy> | |
| TFEL_HOST_DEVICE constexpr decltype(auto) | tfel::math::base_type_cast (const Quantity< UnitType, ValueType, OwnershipPolicy > &v) noexcept |
| cast the value to the base type | |
| template<typename T> | |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::isQuantity () |
| a function testing if a type is a quantity | |
03 jan. 2012