Пример #1
0
func CdfLognormalPinv(p float64, zeta float64, sigma float64) float64 {
	return float64(C.gsl_cdf_lognormal_Pinv(C.double(p), C.double(zeta), C.double(sigma)))
}
Пример #2
0
// LognormalPinv returns the inverse cumulative distribution function Pinv(x) for
// the lower tail of a lognormal distribution.
func LognormalPinv(P, zeta, sigma float64) float64 {
	return float64(C.gsl_cdf_lognormal_Pinv(C.double(P), C.double(zeta), C.double(sigma)))
}