getRequiredDataPoints

fun getRequiredDataPoints(degree: Double, inputOrder: Int? = definedExternally): Int(source)

Given the desired degree, returns the number of data points required for interpolation.

Return

The number of required data points needed for the desired degree of interpolation.

Parameters

degree

The desired degree of interpolation.

inputOrder

The order of the inputs (0 means just the data, 1 means the data and its derivative, etc). Default value - 0

See also