tfel
Loading...
Searching...
No Matches
tfel::math::internals::PowerSqrtPos< N > Class Template Reference

Static Public Member Functions

static TFEL_HOST_DEVICE auto exe (const std::floating_point auto x)
 computes the power N/2 of a positive number

Member Function Documentation

◆ exe()

template<unsigned int N>
TFEL_HOST_DEVICE auto tfel::math::internals::PowerSqrtPos< N >::exe ( const std::floating_point auto x)
inlinestatic

computes the power N/2 of a positive number

Template Parameters
Nexponent
Returns
std::sqrt(power<N>(x))
Parameters
xvariable whose square root of the power N must be computed

The documentation for this class was generated from the following file: