Namespaces

Types in MathNet.Numerics.Differentiation

Type StepType

Namespace MathNet.Numerics.Differentiation

Parent Enum

Type of finite different step size.

Methods

Fields

Public Methods

int CompareTo(object target)

bool Equals(object obj)

int GetHashCode()

Type GetType()

TypeCode GetTypeCode()

bool HasFlag(Enum flag)

string ToString()

string ToString(string format, IFormatProvider provider)

Obsolete: The provider argument is not used. Please use ToString(String).

string ToString(string format)

string ToString(IFormatProvider provider)

Obsolete: The provider argument is not used. Please use ToString().

Public fields

int value__

return int

StepType Absolute

The absolute step size value will be used in numerical derivatives, regardless of order or function parameters.
return StepType

StepType RelativeX

A base step size value, h, will be scaled according to the function input parameter. A common example is hx = h*(1+abs(x)), however this may vary depending on implementation. This definition only guarantees that the only scaling will be relative to the function input parameter and not the order of the finite difference derivative.
return StepType

StepType Relative

A base step size value, eps (typically machine precision), is scaled according to the finite difference coefficient order and function input parameter. The initial scaling according to finite different coefficient order can be thought of as producing a base step size, h, that is equivalent to RelativeX scaling. This stepsize is then scaled according to the function input parameter. Although implementation may vary, an example of second order accurate scaling may be (eps)^(1/3)*(1+abs(x)).
return StepType