Class CumulativeDistributionTests
Inheritance
CumulativeDistributionTests
Assembly: cs.temp.dll.dll
public class CumulativeDistributionTests
Fields
number of sample taken when evaluating a curve
Declaration
public const int CurveSampleCount = 1000
Field Value
number of random calls for the test
Declaration
public const int ResultsSampleCount = 100000
Field Value
width used to compare area under the normal curve and the results.
Lowering the value increase precision, but will need higher "ResultsSampleCount" to pass the test
Declaration
public const float ResultsSampleWidth = 0.1F
Field Value
Max delta when comparing expected and result floats
Lowering the value reduce tolerance, but will need higher "ResultsSampleCount" to pass the test
Declaration
public const float ResultsTolerance = 0.001F
Field Value
Methods
Check CumulativeDistribution results for a normal distribution
Declaration
public void CumulativeDistributionNormalResults()
Declaration
public static float EvaluateNormalY(float x, float mean, float std_dev)
Parameters
Returns