FunctionMath Class

Contains methods that perform operations on mathematical functions.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static class FunctionMath
Inheritance
Object  →  FunctionMath

Methods

BackwardDerivative(Func<Double, Double>, Double) Returns an approximation to the derivative of a function by using only function values at x and and values smaller than x.
BackwardDerivative(Func<Double, Double>, Double, Double) Returns an approximation to the derivative of a function by using only function values at x and and values smaller than x.
BackwardDerivative(Func<Double, Double>, Double, Double, Int32) Returns an approximation to the derivative of a function by using only function values at x and and values smaller than x.
CentralDerivative(Func<Double, Double>, Double) Returns an approximation to the derivative of a function.
CentralDerivative(Func<Double, Double>, Double, Double) Returns an approximation to the derivative of a function.
CentralDerivative(Func<Double, Double>, Double, Double, Int32) Returns an approximation to the derivative of a function.
Combine Constructs a multivariate function returning a vector from an array of multivariate function delegates.
CombineFast(Func<Vector<Double>, Vector<Double>>[]) Constructs a delegate that represents a multivariate function returning a matrix in its second argument from an array of multivariate functions returning a vector.
CombineFast(Func<Vector<Double>, Double>[]) Constructs a multivariate function returning a vector in its second argument from an array of multivariate function delegates.
CombineFast(Func<Vector<Double>, Vector<Double>, Vector<Double>>[]) Constructs a delegate that represents a multivariate function returning a matrix in its second argument from an array of multivariate functions returning a vector.
Derivative(Func<Double, Double>, Double) Returns an approximation to the derivative of a function.
Derivative(Func<Double, Double>, Double, DifferencesDirection) Returns an approximation to the derivative of a function.
Derivative(Func<Double, Double>, Double, Double) Returns an approximation to the derivative of a function.
Derivative(Func<Double, Double>, Double, DifferencesDirection, Int32) Returns an approximation to the derivative of a function.
FindMaximum(Func<Vector<Double>, Double>, Vector<Double>) Computes a maximum of the specified function.
FindMaximum(Func<Double, Double>, Double) Computes a maximum of the specified function.
FindMaximum(Func<Vector<Double>, Double>, Func<Vector<Double>, Vector<Double>, Vector<Double>>, Vector<Double>) Computes a maximum of the specified function.
FindMaximum(Func<Double, Double>, Double, Double) Computes a maximum of the specified function.
FindMinimum(Func<Vector<Double>, Double>, Vector<Double>) Computes a minimum of the specified function.
FindMinimum(Func<Double, Double>, Double) Computes a minimum of the specified function.
FindMinimum(Func<Vector<Double>, Double>, Func<Vector<Double>, Vector<Double>, Vector<Double>>, Vector<Double>) Computes a minimum of the specified function.
FindMinimum(Func<Double, Double>, Double, Double) Computes a minimum of the specified function.
FindZero(Func<Vector<Double>, Double>[], Vector<Double>) Solves a system of nonlinear equations starting from an initial guess.
FindZero(Func<Double, Double>, Double) Finds a zero of a function starting from an initial guess.
FindZero(Func<Vector<Double>, Vector<Double>, Vector<Double>>, Vector<Double>) Solves a system of nonlinear equations starting from an initial guess.
FindZero(Func<Vector<Double>, Double>[], Func<Vector<Double>, Vector<Double>, Vector<Double>>[], Vector<Double>) Finds a zero of a function starting from an initial guess.
FindZero(Func<Double, Double>, Double, Double) Finds a zero of a function when the solution is known to lie within a specified interval.
FindZero(Func<Double, Double>, Func<Double, Double>, Double) Finds a zero of a function starting from an initial guess.
FindZero(Func<Vector<Double>, Vector<Double>, Vector<Double>>, Func<Vector<Double>, Matrix<Double>, Matrix<Double>>, Vector<Double>) Finds a zero of a function starting from an initial guess.
FindZero(Func<Double, Double>, Func<Double, Double>, Double, Double, Double) Finds a zero of a function starting from an initial guess.
ForwardDerivative(Func<Double, Double>, Double) Returns an approximation to the derivative of a function by using only function values at x and and values greater than x.
ForwardDerivative(Func<Double, Double>, Double, Double) Returns an approximation to the derivative of a function by using only function values at x and and values greater than x.
ForwardDerivative(Func<Double, Double>, Double, Double, Int32) Returns an approximation to the derivative of a function by using only function values at x and and values greater than x.
GetBackwardDifferentiator Creates a function of one variable that represents the numerical derivative of the specified function of one variable using backward differences.
GetEquationSolver(Func<Double, Double>, Double) Returns an EquationSolver suitable for solving an equation using the specified information.
GetEquationSolver(Func<Vector<Double>, Double>[], Func<Vector<Double>, Vector<Double>, Vector<Double>>[], Vector<Double>) Finds a zero of a function starting from an initial guess.
GetEquationSolver(Func<Double, Double>, Double, Double) Finds a zero of a function when the solution is known to lie within a specified interval.
GetEquationSolver(Func<Double, Double>, Func<Double, Double>, Double) Finds a zero of a function starting from an initial guess.
GetEquationSolver(Func<Vector<Double>, Vector<Double>, Vector<Double>>, Func<Vector<Double>, Matrix<Double>, Matrix<Double>>, Vector<Double>) Finds a zero of a function starting from an initial guess.
GetForwardDifferentiator Creates a function of one variable that represents the numerical derivative of the specified function of one variable using forward differences.
GetIntegrator(Func<Double, Double>) Returns a function that numerically evaluates the definite integral of a function between the two function arguments.
GetIntegrator(Func<Double, Double>, Double) Returns a function that numerically evaluates the definite integral from the specified lower bound to the function argument.
GetMaximizer(Func<Vector<Double>, Double>) Returns an MultidimensionalOptimizer suitable for solving an equation using the specified information.
GetMaximizer(Func<Double, Double>) Returns an OneDimensionalOptimizer suitable for solving an equation using the specified information.
GetMaximizer(Func<Vector<Double>, Double>, Func<Vector<Double>, Vector<Double>, Vector<Double>>) Finds a maximum of a function starting from an initial guess.
GetMaximizer(Func<Double, Double>, Func<Double, Double>) Finds a maximum of a function starting from an initial guess.
GetMinimizer(Func<Vector<Double>, Double>) Returns an MultidimensionalOptimizer suitable for finding the minimum of a function using the specified information.
GetMinimizer(Func<Double, Double>) Returns an OneDimensionalOptimizer suitable for solving an equation using the specified information.
GetMinimizer(Func<Vector<Double>, Double>, Func<Vector<Double>, Vector<Double>, Vector<Double>>) Finds a minimum of a function starting from an initial guess.
GetMinimizer(Func<Double, Double>, Func<Double, Double>) Finds a minimum of a function starting from an initial guess.
GetNumericalDifferentiator Creates a function of one variable that represents the numerical derivative of the specified function of one variable.
GetNumericalGradient Returns a delegate that numerically evaluates the gradient of a multivariate function.
GetNumericalJacobian(Func<Vector<Double>, Double>[]) Returns a delegate that numerically evaluates the Jacobian of a multivariate vector function.
GetNumericalJacobian(Func<Vector<Double>, Vector<Double>, Vector<Double>>) Returns a delegate that numerically evaluates the Jacobian of a multivariate vector function.
GetNumericalJacobian(Func<Vector<Double>, Vector<Double>, Vector<Double>>, DifferencesDirection) Returns a delegate that numerically evaluates the Jacobian of a multivariate vector function.
GetNumericalJacobian(Func<Vector<Double>, Vector<Double>, Vector<Double>>, DifferencesDirection, Vector<Double>) Returns a delegate that numerically evaluates the Jacobian of a multivariate vector function.
GetNumericalJacobian(Func<Vector<Double>, Vector<Double>, Vector<Double>>, DifferencesDirection, Vector<Double>, Vector<Double>) Returns a delegate that numerically evaluates the Jacobian of a multivariate vector function.
GetNumericalJacobian(Func<Vector<Double>, Vector<Double>, Vector<Double>>, DifferencesDirection, Vector<Double>, Vector<Double>, Vector<Double>) Returns a delegate that numerically evaluates the Jacobian of a multivariate vector function.
Integrate(Func<Double, Double>, Interval<Double>) Numerically integrates a function of one variable.
Integrate(Func<Double, Double>, Double, Double) Numerically integrates a function of one variable.
Integrate(Func<Double, Double, Double>, Interval<Double>, Interval<Double>) Numerically integrates a function of two variables over a rectangular region.
Integrate(Func<Double, Double, Double>, Double, Double, Double, Double) Numerically integrates a function of two variables over a rectangular region.
Product Computes the product of an expression evaluated over the specified range.
Sum(Func<Int32, Double>, Int32, Int32) Computes the sum of an expression evaluated over the specified range.
Sum<T>(IEnumerable<T>, Func<T, Double>) Computes the sum of an expression evaluated for each member of a collection.
SumIf<T> Computes the sum of an expression evaluated for each member of a collection that meets the specified condition.
SumSeries(Func<Int32, Double>, Int32, Double) Adds up the terms of a series.
SumSeries(IEnumerable<Double>, Int32, Double) Adds up the terms of a series.

See Also