Companion

Properties

Link copied to clipboard

The relative tolerance on the quantile residual at which the inversion stops.

Link copied to clipboard

The most Newton and bisection steps the inversion will take.

Link copied to clipboard
const val MAX_REGISTERED_TERMS: Int = 6

The largest number of terms for which a concrete class is registered.

Link copied to clipboard
const val MIN_BRACKET_GAP: Double = 1.0E-15

How close to an endpoint the bracket search will reach.

Link copied to clipboard
const val PROBABILITY_TOLERANCE: Double = 1.0E-15

The narrowest bracket the inversion will refine to before returning its midpoint.

Functions

Link copied to clipboard
fun create(coefficients: DoubleArray, lowerBound: Double = Double.NEGATIVE_INFINITY, upperBound: Double = Double.POSITIVE_INFINITY, name: String? = null): MetalogDistribution

Builds a metalog of the appropriate arity for the supplied coefficients, which must number between two and six. This is the general entry point when the number of terms is decided at run time, as it is during distribution fitting.