MCPcopy Index your code
hub / github.com/RustPython/RustPython / _normal_dist_inv_cdf

Function _normal_dist_inv_cdf

crates/stdlib/src/statistics.rs:129–137  ·  view source on GitHub ↗
(
        p: ArgIntoFloat,
        mu: ArgIntoFloat,
        sigma: ArgIntoFloat,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

127
128 #[pyfunction]
129 fn _normal_dist_inv_cdf(
130 p: ArgIntoFloat,
131 mu: ArgIntoFloat,
132 sigma: ArgIntoFloat,
133 vm: &VirtualMachine,
134 ) -> PyResult<f64> {
135 normal_dist_inv_cdf(p.into_float(), mu.into_float(), sigma.into_float())
136 .ok_or_else(|| vm.new_value_error("inv_cdf undefined for these parameters"))
137 }
138}

Callers

nothing calls this directly

Calls 3

normal_dist_inv_cdfFunction · 0.85
ok_or_elseMethod · 0.80
into_floatMethod · 0.80

Tested by

no test coverage detected