Skip to main content

Module math

Module math 

Source
Expand description

Layer 1g — mathematical special functions (inverse error function, incomplete gamma functions and their inverse). Special mathematical functions used by the thermophysics and statistics kernels.

Ports the OpenFOAM primitives/functions/Math helpers: the inverse error function ([erf_inv]), the regularised lower/upper incomplete gamma functions and their unnormalised forms ([inc_gamma_ratio_p], [inc_gamma_ratio_q], [inc_gamma_p], [inc_gamma_q]), and the inverse of the regularised lower incomplete gamma ([inv_inc_gamma]). All arguments and results are dimensionless f64.

Re-exports§

pub use erf_inv::erf_inv;
pub use inc_gamma::inc_gamma_p;
pub use inc_gamma::inc_gamma_q;
pub use inc_gamma::inc_gamma_ratio_p;
pub use inc_gamma::inc_gamma_ratio_q;
pub use inv_inc_gamma::inv_inc_gamma;

Modules§

erf_inv
inc_gamma
inv_inc_gamma