예제 #1
0
파일: randist.go 프로젝트: postfix/gsl-1
func CdfExponentialPinv(p float64, mu float64) float64 {
	return float64(C.gsl_cdf_exponential_Pinv(C.double(p), C.double(mu)))
}
예제 #2
0
파일: cdf.go 프로젝트: haskelladdict/gsl
// ExponentialPinv returns the inverse cumulative distribution function Pinv(x) for
// the lower tail of an exponential distribution.
func ExponentialPinv(P, mu float64) float64 {
	return float64(C.gsl_cdf_exponential_Pinv(C.double(P), C.double(mu)))
}