double arsptp(double g, double p0, bool is_sub, int *ierr);
Compute the Rayleigh-Pitot properties given a one of the pressure ratios or .
Fixed if is_sub is true.
Iterative if is_sub is false.
ENTRY: Specific heat constant .
ENTRY: The pressure ratio or depending upon is_sub.
ENTRY: Whether p0 refers to a Pitot pressure fraction (true) or to a Rayleigh-Pitot pressure fraction (false).
EXIT: Array with result properties as described in 13.
EXIT: (optional) Return status code.
Specific heat ratio .
Given pressure ratio out of range.
Iterative solver failed.
Return Values
The Mach number or NAN on error.