Click or drag to resize

LinearApproximationGetRequiredDataPoints Method

Gets the number of data points needed to interpolate with the desired degree of accuracy. For linear interpolation, the degree must be one, and the result is always two.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static int GetRequiredDataPoints(
	int degree
)

Parameters

degree
Type: SystemInt32
The degree of polynomial approximation desired.

Return Value

Type: Int32
The number of data points needed to interpolate with the desired degree of accuracy.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf degree is not 1.
See Also