FiniteCalculusGetNextTerm Method Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Finds the next term in the sequence, given that a pattern exist.

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

public static double GetNextTerm(
	double[] sequence,
	int term = -1
)

Parameters

sequence
Type: SystemDouble
The sequence of doubles passed in as a double array.
term (Optional)
Type: SystemInt32
If term=-1, the next term in the sequence is going to be found. By default, you don't need to change this variable.

Return Value

Type: Double
See Also

Reference