pub fn iv(price: f64, S: f64, K: f64, T: f64, r: f64, flag: TypeFlag) -> f64
A convenience function to calculate the implied volatility. It is a wrapper around implied_volatility function.
implied_volatility