◆ betainc_inv
Callable object computing the inverse relative to the first parameter of the beta incomplete function. Required header: Members Functions
template< floating_value T, floating_value U, floating_value V > auto operator()( T s, U x, V y ) const noexcept requires compatible< T, U >;
Parameters
Return value Returns elementwise the value of the inverse of incomplete beta function relative to the first parameter. The result type is the common compatible type of the two parameters. auto operator[]( conditional_expression auto cond ) const noexcept;
Higher-order function generating a masked version of eve::betainc_inv Parameters
Return value A Callable object so that the expression Supported decorators: Required header: : The expression ExampleSee it live on Compiler Explorer #include <eve/function/betainc_inv.hpp>
#include <eve/wide.hpp>
#include <iostream>
using wide_ft = eve::wide <float, eve::fixed<4>>;
int main()
{
wide_ft pf = { 0.0f, 0.1f, 0.5f, 2.0f};
wide_ft qf = { 1.0f, 1.0f, 3.0f, 5.0f};
wide_ft rf = { 4.0f, 2.0f, 1.0f, 0.2f};
std::cout
<< "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<< "<- qf = " << qf << '\n'
<< "<- rf = " << rf << '\n'
float xf = 0.2f;
float yf = 0.5f;
float zf = 2.0f;
std::cout
<< "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<< "<- yf = " << yf << '\n'
<< "<- zf = " << zf << '\n'
return 0;
}
constexpr callable_betainc_inv_ betainc_inv Callable object computing the inverse relative to the first parameter of the beta incomplete function... Definition: betainc_inv.hpp:81 |