|
tfel
|
This file declares the qt class. More...
#include <cmath>#include <type_traits>#include "TFEL/Config/TFELConfig.hxx"#include "TFEL/Metaprogramming/TypeList.hxx"#include "TFEL/TypeTraits/IsScalar.hxx"#include "TFEL/TypeTraits/IsReal.hxx"#include "TFEL/TypeTraits/IsComplex.hxx"#include "TFEL/TypeTraits/IsFundamentalNumericType.hxx"#include "TFEL/TypeTraits/IsAssignableTo.hxx"#include "TFEL/TypeTraits/Promote.hxx"#include "TFEL/Math/Forward/Complex.hxx"#include "TFEL/Math/General/Abs.hxx"#include "TFEL/Math/General/IEEE754.hxx"#include "TFEL/Math/General/BasicOperations.hxx"#include "TFEL/Math/General/MathObjectTraits.hxx"#include "TFEL/Math/General/UnaryResultType.hxx"#include "TFEL/Math/Quantity/Unit.hxx"#include "TFEL/Math/Forward/qt.hxx"#include "TFEL/Math/power.hxx"#include "TFEL/Math/Quantity/qtLimits.hxx"#include "TFEL/Math/Quantity/qtSpecific.hxx"#include "TFEL/Math/Quantity/qtOperations.hxx"Classes | |
| struct | tfel::math::internals::QuantityValueOwnershipPolicy< ValueType, AllowImplicitConversion > |
| an helper structure which holds the value internally. More... | |
| struct | tfel::math::internals::QuantityReferenceOwnershipPolicy< ValueType, AllowImplicitConversion > |
| an helper structure which wraps a reference to an external value. More... | |
| struct | tfel::math::Quantity< UnitType, ValueType, OwnershipPolicy > |
| struct | tfel::math::Quantity< UnitType, ValueType, OwnershipPolicy >::IsQtScalarOperationValid< T, T2 > |
| struct | tfel::math::qt< UnitType, ValueType > |
| a simple alias More... | |
| struct | tfel::math::QuantityTraits< qt< UnitType, ValueType > > |
| struct | tfel::math::qt_ref< UnitType, ValueType > |
| a simple alias More... | |
| struct | tfel::math::QuantityTraits< qt_ref< UnitType, ValueType > > |
| struct | tfel::math::const_qt_ref< UnitType, ValueType > |
| a simple alias More... | |
| struct | tfel::math::QuantityTraits< const_qt_ref< UnitType, ValueType > > |
| class | tfel::math::UnaryResultType< T, Power< N, D > > |
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. | |
| namespace | tfel::math::ieee754 |
Functions | |
| template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType, typename OwnershipPolicy> | |
| tfel::math::Quantity (Quantity< UnitType, ValueType, OwnershipPolicy >) -> Quantity< UnitType, ValueType, OwnershipPolicy > | |
| template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType> | |
| tfel::math::qt (qt< UnitType, ValueType >) -> qt< UnitType, ValueType > | |
| template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType> | |
| tfel::math::qt_ref (qt_ref< UnitType, ValueType >) -> qt_ref< UnitType, ValueType > | |
| template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType> | |
| tfel::math::const_qt_ref (const_qt_ref< UnitType, ValueType >) -> const_qt_ref< UnitType, ValueType > | |
|
template<unit::UnitConcept UnitType, StandardArithmeticTypeConcept ValueType, typename OwnershipPolicy> requires (Quantity<UnitType, ValueType, OwnershipPolicy>::is_mutable) | |
| TFEL_HOST_DEVICE constexpr ValueType & | tfel::math::base_type_cast (Quantity< UnitType, ValueType, OwnershipPolicy > &v) noexcept |
| 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<int N, ImmutableQuantityConcept T> requires ( std::is_floating_point_v<base_type<T>>) | |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::power (const T &x) |
|
template<int N, unsigned int D, ImmutableQuantityConcept T> requires ( std::is_floating_point_v<base_type<T>>) | |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::power (const T &x) |
| template<ImmutableQuantityConcept T> | |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::square_root (const T &q) noexcept |
| template<ImmutableQuantityConcept QuantityType> | |
| TFEL_HOST_DEVICE constexpr int | tfel::math::ieee754::fpclassify (const QuantityType &q) noexcept |
| template<ImmutableQuantityConcept QuantityType> | |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::ieee754::isnan (const QuantityType &q) noexcept |
| template<ImmutableQuantityConcept QuantityType> | |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::ieee754::isfinite (const QuantityType &q) noexcept |
This file declares the qt class.