|
tfel
|
This file implements methods of class Power. More...
Classes | |
| struct | tfel::math::internals::PowerGenerator< N, D > |
| class | tfel::math::internals::PowerPos< N > |
| struct | tfel::math::internals::PowerPosImpl< N, M > |
| struct | tfel::math::internals::PowerPosImpl< N, 0u > |
| struct | tfel::math::internals::PowerPosImpl< 0u, M > |
| struct | tfel::math::internals::PowerPosImpl< 0u, 0u > |
| struct | tfel::math::internals::PowerPos< 0u > |
| struct | tfel::math::internals::PowerPos< 1u > |
| struct | tfel::math::internals::PowerPos< 2u > |
| struct | tfel::math::internals::PowerPos< 3u > |
| struct | tfel::math::internals::PowerNeg< N > |
| an helper structure to compute the negative power of a number. More... | |
| struct | tfel::math::internals::PowerSqrtNeg< N > |
| class | tfel::math::internals::PowerSqrtPos< N > |
| class | tfel::math::internals::PowerImplSelector< N, 1u > |
| class | tfel::math::internals::PowerImplSelector< N, 2u > |
| class | tfel::math::internals::PowerImplSelector< 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. | |
Functions | |
| template<int N> | |
| TFEL_HOST_DEVICE auto | tfel::math::power (const std::floating_point auto) noexcept |
| computes x to the power N | |
|
template<int N, unsigned int D> requires (D != 0) | |
| TFEL_HOST_DEVICE auto | tfel::math::power (const std::floating_point auto x) noexcept |
| template<int N> | |
| TFEL_HOST_DEVICE auto | tfel::math::stdfunctions::power (const std::floating_point auto) noexcept |
| computes x to the power N | |
This file implements methods of class Power.
|
noexcept |
computes x to the power N
| N | exponent |
| x | value |