LagrangePolynomialApproximationGetRequiredDataPoints Method |
Gets the number of data points needed to interpolate with the desired degree of accuracy,
which is degree + 1.
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
)
Public Shared Function GetRequiredDataPoints (
degree As Integer
) As Integer
public:
static int GetRequiredDataPoints(
int degree
)
static member GetRequiredDataPoints :
degree : int -> int
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.
See Also