|
| struct | tfel::math::ComputeUnaryOperationResult< ScalarTag, UnaryOperatorTag, T, OpNeg > |
| struct | tfel::math::ResultType< T1, T2, OpPlus > |
| | partial specialisation for addition of two quantity objects having the same unit More...
|
| struct | tfel::math::ResultType< T1, T2, OpMinus > |
| | partial specialisation for subtraction of two quantity objects having the same unit More...
|
| struct | tfel::math::ResultType< T1, T2, OpMult > |
| | partial specialisation for multiplication of two quantity objects More...
|
| struct | tfel::math::ResultType< T1, T2, OpDiv > |
| | partial specialisation for division of two quantity objects More...
|
| struct | tfel::math::ResultType< ScalarType, QuantityType, OpPlus > |
| | partial specialisation for fundamental numeric type and a quantity with no unit More...
|
| struct | tfel::math::ResultType< QuantityType, ScalarType, OpPlus > |
| | partial specialisation for a quantity with no unit and a fundamental numeric type More...
|
| struct | tfel::math::ResultType< ScalarType, QuantityType, OpMinus > |
| | partial specialisation for fundamental numeric type and a quantity with no unit More...
|
| struct | tfel::math::ResultType< QuantityType, ScalarType, OpMinus > |
| | partial specialisation for a quantity with no unit and a fundamental numeric type More...
|
| struct | tfel::math::ResultType< ScalarType, QuantityType, OpMult > |
| | partial specialisation for fundamental numeric type and a quantity with no unit More...
|
| struct | tfel::math::ResultType< QuantityType, ScalarType, OpMult > |
| | partial specialisation for a quantity with no unit and a fundamental numeric type More...
|
| struct | tfel::math::ResultType< ScalarType, QuantityType, OpDiv > |
| | partial specialisation for fundamental numeric type and a quantity with no unit More...
|
| struct | tfel::math::ResultType< QuantityType, ScalarType, OpDiv > |
| | partial specialisation for a quantity with no unit and a fundamental numeric type More...
|
|
|
template<ImmutableQuantityConcept QuantityType> |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::operator- (const QuantityType &q) noexcept |
| | negation operator
|
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator< (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator< (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator<= (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator<= (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator> (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator> (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator>= (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator>= (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator== (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator== (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator!= (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr bool | tfel::math::operator!= (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::operator+ (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::operator+ (const T1 &a, const T2 &b) noexcept=delete |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::operator- (const T1 &a, const T2 &b) noexcept |
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2>
requires (!std::is_same_v<quantity_unit<T1>, quantity_unit<T2>>) |
| TFEL_HOST_DEVICE constexpr auto | tfel::math::operator- (const T1 &a, const T2 &b) noexcept=delete |
|
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2> |
| constexpr auto | tfel::math::operator* (const T1 &a, const T2 &b) noexcept |
|
template<ImmutableQuantityConcept T1, ImmutableQuantityConcept T2> |
| constexpr auto | tfel::math::operator/ (const T1 &a, const T2 &b) noexcept |
|
| tfel::math::TFEL_MATH_QT_NOUNIT_COMPARISION_OPERATORS (<) |
|
| tfel::math::TFEL_MATH_QT_NOUNIT_COMPARISION_OPERATORS (<=) |
|
| tfel::math::TFEL_MATH_QT_NOUNIT_COMPARISION_OPERATORS (>=) |
|
| tfel::math::TFEL_MATH_QT_NOUNIT_COMPARISION_OPERATORS (!=) |
|
| tfel::math::TFEL_MATH_QT_SCALAR_OPERATIONS (+) |
|
| tfel::math::TFEL_MATH_QT_SCALAR_OPERATIONS (-) |
This file declares usual operations on quantities.
- Author
- Thomas Helfer
- Date
- 07/06/2006
- Copyright
- Copyright (C) 2006-2025 CEA/DEN, EDF R&D. All rights reserved. This project is publicly released under either the GNU GPL Licence with linking exception or the CECILL-A licence. A copy of thoses licences are delivered with the sources of TFEL. CEA or EDF may also distribute this project under specific licensing conditions.