C# Class NSoft.NFramework.Numerics.Distributions.Continuous.Cauchy

The Cauchy distribution is a symmetric continuous probability distribution. For details about this distribution, see Wikipedia - Cauchy distribution.

The distribution will use the System.Random by default. Users can get/set the random number generator by using the RandomSource property.

The statistics classes will check all the incoming parameters whether they are in the allowed range. This might involve heavy computation. Optionally, by setting Control.CheckDistributionParameters to false, all parameter checks can be turned off.

Inheritance: IContinuousDistribution
Afficher le fichier Open project: debop/NFramework

Méthodes publiques

Méthode Description
Cauchy ( ) : System
Cauchy ( double location, double scale = 1, Func randomFactory = null ) : System
CumulativeDistribution ( double x ) : double

확률 분포 계산을 위한 누적분포함수

Density ( double x ) : double

분포의 확률 밀도

DensityLn ( double x ) : double

분포의 로그 확률 밀도

Sample ( ) : double

분포의 무작위 값을 제공합니다.

Samples ( ) : IEnumerable

현 분포의 무작위 값을 열거합니다.

ToString ( ) : string

Private Methods

Méthode Description
AssertParameters ( double location, double scale ) : void
DoSample ( Random rnd, double location, double scale ) : double

분포의 변량을 생성합니다.

SetParameters ( double location, double scale ) : void

Method Details

Cauchy() public méthode

public Cauchy ( ) : System
Résultat System

Cauchy() public méthode

public Cauchy ( double location, double scale = 1, Func randomFactory = null ) : System
location double
scale double
randomFactory Func
Résultat System

CumulativeDistribution() public méthode

확률 분포 계산을 위한 누적분포함수
public CumulativeDistribution ( double x ) : double
x double The location at which to compute the cumulative distribution function.
Résultat double

Density() public méthode

분포의 확률 밀도
public Density ( double x ) : double
x double
Résultat double

DensityLn() public méthode

분포의 로그 확률 밀도
public DensityLn ( double x ) : double
x double
Résultat double

Sample() public méthode

분포의 무작위 값을 제공합니다.
public Sample ( ) : double
Résultat double

Samples() public méthode

현 분포의 무작위 값을 열거합니다.
public Samples ( ) : IEnumerable
Résultat IEnumerable

ToString() public méthode

public ToString ( ) : string
Résultat string