Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
airy.h File Reference

Real Airy Ai helpers for beam-style stimulus operators. More...

Go to the source code of this file.

Functions

double sim_airy_ai_f64 (double x)
 Airy Ai(x) for double-precision real x.
 
float sim_airy_ai_f32 (float x)
 Airy Ai(x) for single-precision real x.
 

Detailed Description

Real Airy Ai helpers for beam-style stimulus operators.

The implementation combines:

  • Power-series evaluation around the origin using the Airy ODE recurrence.
  • Positive-tail asymptotics for exponentially small values.
  • Negative-tail oscillatory asymptotics for large-magnitude negative inputs.

This gives a stable daily-driver Ai(x) for the moderate argument ranges used by stimulus operators without pulling in heavyweight external special-function dependencies.

Function Documentation

◆ sim_airy_ai_f32()

float sim_airy_ai_f32 ( float  x)

Airy Ai(x) for single-precision real x.

Parameters
xReal argument.
Returns
Approximate Airy Ai value rounded to float.

◆ sim_airy_ai_f64()

double sim_airy_ai_f64 ( double  x)

Airy Ai(x) for double-precision real x.

Parameters
xReal argument.
Returns
Approximate Airy Ai value.