FiniteCalculusGetCoefficientsForNthTerm Method Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Finds the coefficients of the nth term and returns them in a double array. The first item in the array is of the highest power. The last term in the array is the constant term.

Namespace: Mathos.Calculus
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public static double[] GetCoefficientsForNthTerm(
	double[] sequence,
	int degree
)

Parameters

sequence
Type: SystemDouble
The sequence of doubles passed in as a double array.
degree
Type: SystemInt32
The degree value returned here is the number of times we have to take the differnce of this sequence (using GetDifference) to get the difference to be zero.

Return Value

Type: Double
See Also

Reference