PHP 클래스 MathPHP\Probability\Distribution\Continuous\Exponential

상속: extends Continuous
파일 보기 프로젝트 열기: markrogoyski/math-php

공개 메소드들

메소드 설명
CDF ( float $x, float ) : float Cumulative distribution function
PDF ( float $x, float ) : float Probability density function
mean ( float ) : number Mean of the distribution

메소드 상세

CDF() 공개 정적인 메소드

f(x;λ) = 1 − ℯ^⁻λx x ≥ 0 = 0 x < 0
public static CDF ( float $x, float ) : float
$x float the random variable
float often called the rate parameter
리턴 float

PDF() 공개 정적인 메소드

f(x;λ) = λℯ^⁻λx x ≥ 0 = 0 x < 0
public static PDF ( float $x, float ) : float
$x float the random variable
float often called the rate parameter
리턴 float

mean() 공개 정적인 메소드

μ = λ⁻¹
public static mean ( float ) : number
float often called the rate parameter
리턴 number