parameters

open override fun parameters(params: DoubleArray)(source)

Sets the parameters for the distribution. Array of probability points (value, cumulative probability), e.g., X[] = v1, cp1, v2, cp2, ..., vn, cpn, as the input parameters.

Parameters

params

an array of doubles representing the parameters for the distribution


open override fun parameters(): DoubleArray(source)

Gets the parameters for the distribution as an array of paired parameters (value, cumulative probability), e.g., X[] = v1, cp1, v2, cp2, ..., vn, cpn.

Return

Returns an array of the parameters for the distribution