◆ hermite
Callable object computing the hermite operation. Required header: Members Functions
Definition: value.hpp:83 Definition: value.hpp:113 Parameters
Return value Returns elementwise the value of the 'physicists' hermite polynomial of order The result type is of the common compatible type of the parameters. Supported decorators
ExampleSee it live on Compiler Explorer #include <eve/function/hermite.hpp>
#include <eve/wide.hpp>
#include <eve/constant/inf.hpp>
#include <eve/constant/minf.hpp>
#include <eve/constant/nan.hpp>
#include <iostream>
using wide_ft = eve::wide<double, eve::fixed<8>>;
using wide_it = eve::wide<int , eve::fixed<8>>;
int main()
{
wide_ft xd = {0.5, -1.5, 0.1, -1.0, 19.0, 25.0, 21.5, 10000.0};
wide_it n = {0, 1, 2, 3, 4, 5, 6, 7};
wide_ft x(2.0);
std::cout << "---- simd" << '\n'
<< "<- xd = " << xd << '\n'
<< "<- n = " << n << '\n'
<< "<- x = " << x << '\n'
double xs = 3.0;
std::cout << "---- scalar" << '\n'
<< "<- xs = " << xs << '\n'
return 0;
}
constexpr callable_hermite_ hermite Callable object computing the hermite operation. Definition: hermite.hpp:70 |