E.V.E
v2023.02.15
Loading...
Searching...
No Matches

◆ rayleigh_skewness

auto eve::rayleigh_skewness = functor<rayleigh_skewness_t>
inlineconstexpr

Defined in Header

#include <eve/module/math.hpp>

Callable Signatures

namespace eve
{
template< eve::floating_value T >
T rayleigh_skewness(as<T> x) noexcept;
}
constexpr auto rayleigh_skewness
Callable object computing the Rayleigh skewness value : .
Definition rayleigh_skewness.hpp:77
EVE Main Namespace.
Definition abi.hpp:19
Lightweight type-wrapper.
Definition as.hpp:29

Parameters

  • x : Type wrapper instance embedding the type of the constant.

Return value

The call eve::rayleigh_skewness(as<T>()) returns the Rayleigh skewness.

Example

// revision 0
#include <eve/module/math.hpp>
#include <iostream>
#include <iomanip>
int main()
{
using wf_t = eve::wide<float>;
using wd_t = eve::wide<double>;
std::cout << std::setprecision(9);
std::cout << "-> rayleigh_skewness(as<float>()) = " << eve::rayleigh_skewness(eve::as<float>()) << "\n";
std::cout << "-> rayleigh_skewness(as<wf_t>()) = " << eve::rayleigh_skewness(eve::as<wf_t>()) << "\n";
std::cout << "-> rayleigh_skewness[lower](as<wf_t>()) = " << eve::rayleigh_skewness[eve::lower](eve::as<wf_t>()) << "\n";
std::cout << "-> rayleigh_skewness[upper](as<wf_t>()) = " << eve::rayleigh_skewness[eve::upper](eve::as<wf_t>()) << "\n";
std::cout << std::setprecision(17);
std::cout << "-> rayleigh_skewness(as<double>()) = " << eve::rayleigh_skewness(eve::as<double>()) << "\n";
std::cout << "-> rayleigh_skewness(as<wd_t>()) = " << eve::rayleigh_skewness(eve::as<wd_t>()) << "\n";
std::cout << "-> rayleigh_skewness[lower](as<wd_t>()) = " << eve::rayleigh_skewness[eve::lower](eve::as<wd_t>()) << "\n";
std::cout << "-> rayleigh_skewness[upper](as<wd_t>()) = " << eve::rayleigh_skewness[eve::upper](eve::as<wd_t>()) << "\n";
}
constexpr auto lower
Guarantees a result no greater than the exact mathematical one.
Definition core.hpp:103
constexpr auto upper
Guarantees a result no smaller than the exact mathematical one.
Definition core.hpp:102
Wrapper for SIMD registers.
Definition wide.hpp:94