pub fn mach_to_t_t0<F: Float>(mach: F, gamma: F) -> F
Expand description
Total temperature ratio for given mach number and specific heat ratio
ยงExamples
use comp_flow::mach_to_t_t0;
assert_eq!(mach_to_t_t0(0.0, 1.4), 1.0);
assert_eq!(mach_to_t_t0(1.0, 1.4), 0.8333333333333334);
assert_eq!(mach_to_t_t0(2.0_f32, 1.4), 0.55555556);