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

◆ airy

eve::airy = functor<airy_t>
inlineconstexpr

This function is designed to be faster than two separate calls to eve::airy_ai and eve::airy_bi.

Header file

#include <eve/module/bessel.hpp>

Callable Signatures

namespace eve
{
constexpr auto airy(eve::floating_value auto x) -> decltype(eve::zip(x,x)) noexcept;
}
The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the element type...
Definition: value.hpp:95
constexpr auto airy
elementwise_callable object computing simutaneously the airy functions values and .
Definition: airy.hpp:67
constexpr auto zip
Callable for SoA value constructions.
Definition: zip.hpp:85
EVE Main Namespace.
Definition: abi.hpp:18

Parameters

Return value

The tuple {airy_ai (x), airy_bi (x)} is returned.

External references

Example

// revision 1
#include <eve/module/bessel.hpp>
#include <iostream>
eve::wide<double> wf0([](auto i, auto c)->double{ return 2*(i-c/2);});
eve::wide wf1{0.5, -1.5, 0.1, -1.0, 19.0, 25.0, 21.5, 10000.0};
int main()
{
std::cout << "<- wf0 = " << wf0 << "\n";
std::cout << "<- wf1 = " << wf1 << "\n";
std::cout << "-> airy(wf0) = " << eve::airy(wf0) << "\n";
std::cout << "-> airy(wf1) = " << eve::airy(wf1) << "\n";
std::cout << eve::airy(2.0) << std::endl;
}
Wrapper for SIMD registers.
Definition: wide.hpp:71