Namespaces

Types in MathNet.Numerics.Differentiation

Type FiniteDifferenceCoefficients

Namespace MathNet.Numerics.Differentiation

Class to calculate finite difference coefficients using Taylor series expansion method.

Constructors

Methods

Properties

Public Constructors

FiniteDifferenceCoefficients(int points)

Initializes a new instance of the FiniteDifferenceCoefficients class.
Parameters
int points

Number of finite difference coefficients.

Public Methods

bool Equals(object obj)

Double[] GetCoefficients(int center, int order)

Gets the finite difference coefficients for a specified center and order.
Parameters
int center

Current function position with respect to coefficients. Must be within point range.

int order

Order of finite difference coefficients.

Return
Double[]

Vector of finite difference coefficients.

Double[,] GetCoefficientsForAllOrders(int center)

Gets the finite difference coefficients for all orders at a specified center.
Parameters
int center

Current function position with respect to coefficients. Must be within point range.

Return
Double[,]

Rectangular array of coefficients, with columns specifying order.

int GetHashCode()

Type GetType()

string ToString()

Public Properties

int Points get; set;

Number of points for finite difference coefficients. Changing this value recalculates the coefficients table.