Expand description
The phi-functions of exponential integrators, phi_N(z) = sum z^n/(n+N)!, shared
by every element type. ps.rs/pd.rs supply a compile-time series length, while
the element-agnostic default iterates to the element’s own epsilon.
Constants§
- PHI_
TABLE_ ORDERS - How many orders the runtime-order
phihas its series length precomputed for. Seephi_terms_table.
Functions§
- phi_
internal - The runtime-order twin of
phi_internal_n: the same two arms withNas a value. The1/N!prefactor and the per-term ratios are the same running products, so the two forms agree to the bit for the sameterms. - phi_
internal_ n phi_N(z) = sum_{n>=0} z^n/(n+N)!, the exponential-integrator functions.- phi_
series_ terms - Series terms
phi_Nneeds on|z| < Nto converge to a relativeeps. - phi_
terms_ table phi_series_termsfor every order belowPHI_TABLE_ORDERS, capped atmax_iterations: the table the f32/f64 runtime-order entries build in aconstblock per policy, so the term count is an index per call rather than a search.