FiniteCalculus ClassMathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
This class contains methods for calculus with finite differences. Most of the methods assume that the sequence of numbers is some sort of polynomial.
Inheritance Hierarchy

SystemObject
  Mathos.CalculusFiniteCalculus

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

public static class FiniteCalculus

The FiniteCalculus type exposes the following members.

Methods

  NameDescription
Public methodStatic memberGetCoefficientsForNthSum
Finds the coefficients of the closed form of the sum 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.
Public methodStatic memberGetCoefficientsForNthTerm
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.
Public methodStatic memberCode exampleGetDifference
Finds the difference between terms in a sequence. By chaging the degree, we can take difference of the differences.
Public methodStatic memberGetExpressionForNthSum
Finds an expression, given coefficients of the nth sum, in terms of any variable.
Public methodStatic memberGetExpressionForNthTerm
Finds an expression, given coefficients of the nth term, in terms of any variable.
Public methodStatic memberGetNextTerm
Finds the next term in the sequence, given that a pattern exist.
Public methodStatic memberHasPattern
Checks whether the given sequence contains a pattern. For a pattern to exist, given the terms in the sequence, we should be able to reach a difference of zero for all possible values of degree. Degree is dependent on the number of terms we have.
Public methodStatic memberSumWithRule
This method will evaluate a sum that contains a true-false statement - the Iverson notation.
Top
See Also

Reference