Sage Modeling and Simulation Library

EmpiricalCDF Members

The EmpiricalCDF type exposes the following members.

Constructors


  Name Description
Public method EmpiricalCDF(array<Double>[]()[][], array<Double>[]()[][])
Creates an empirical, table-driven CDF from a histogram containing 'n' bins (where n > 1) with low and high bounds, and a count of instances (column height, in effect) in each bin. For example, with binBounds being a double[] with values {3.0, 5.0, 6.0, 7.0}, and heights being a double[] with values {10.0, 30.0, 20.0}, and a linear double interpolator, the empirical CDF will produce values evenly spaced from 3 to 5 1/6th of the time, values evenly spaced from 5 to 6 half the time, and values evenly spaced from 6 to 7 one third of the time.

This form of the constructor defaults to a linear interpolation.

Public method EmpiricalCDF(array<Double>[]()[][], array<Double>[]()[][], IDoubleInterpolator)
Creates an empirical, table-driven CDF from a histogram containing 'n' bins (where n > 1) with low and high bounds, and a count of instances (column height, in effect) in each bin. For example, with binBounds being a double[] with values {3.0, 5.0, 6.0, 7.0}, and heights being a double[] with values {10.0, 30.0, 20.0}, and a linear double interpolator, the empirical CDF will produce values evenly spaced from 3 to 5 1/6th of the time, values evenly spaced from 5 to 6 half the time, and values evenly spaced from 6 to 7 one third of the time.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetVariate
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)