tfel
Loading...
Searching...
No Matches
Compare.hxx File Reference
#include <cmath>
#include <concepts>
#include "TFEL/Math/qt.hxx"

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.

Functions

template<std::floating_point ScalarType>
TFEL_HOST_DEVICE constexpr bool tfel::math::areAlmostEqual (const ScalarType &eps, const ScalarType &a, const ScalarType &b)
template<ImmutableQuantityConcept QuantityType>
requires (std::floating_point<base_type<QuantityType>>)
TFEL_HOST_DEVICE constexpr bool tfel::math::areAlmostEqual (const base_type< QuantityType > &eps, const QuantityType &a, const QuantityType &b)

Detailed Description

Author
Antoine Martin
Date
05/09/2025