MVCDF

abstract class MVCDF(nDim: Int)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(nDim: Int)

Properties

Link copied to clipboard
protected val a: DoubleArray
Link copied to clipboard
protected val b: DoubleArray
Link copied to clipboard

the dimension of the MV distribution

Functions

Link copied to clipboard
fun cdf(upperLimit: Double): Double

The probability from -infinity to the upper limit, with the upper limit being the same for all dimensions

fun cdf(integrands: List<Interval>): Double
fun cdf(lowerLimits: DoubleArray, upperLimits: DoubleArray): Double

Evaluation of the integral. Accuracy should be about 7 decimal places

fun cdf(lower: Double, upper: Double): Double

Computes the CDF over the rectangular region

Link copied to clipboard
protected abstract fun computeCDF(): Double

Implementors must provide computation for computing the value of the CDF across whatever domain limits as specified by the integration limits supplied to the cdf() method

Link copied to clipboard
Link copied to clipboard
fun createIntervals(lowerLimit: Double, upperLimit: Double): List<Interval>
Link copied to clipboard

The upper limit will be Double.POSITIVE_INFINITY

Link copied to clipboard

The lower limit will be Double.NEGATIVE_INFINITY

Link copied to clipboard
protected fun setIntegrationLimits(lower: Double, upper: Double)

Sets upper and lower limits to the supplied values

protected fun setIntegrationLimits(lower: DoubleArray, upper: DoubleArray)