Constructs a random number generator for a Cauchy distribution using the specified distribution parameters.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public FloatRandomCauchyDistribution(
	float displacement,
	float scale
)
Visual Basic (Declaration)
Public Sub New ( _
	displacement As Single, _
	scale As Single _
)
Visual C++
public:
FloatRandomCauchyDistribution(
	float displacement, 
	float scale
)

Parameters

displacement
Type: System..::.Single
Displacement.
scale
Type: System..::.Single
Scale factor.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the scale factor is not greater than 0.

See Also