Click or drag to resize

RiddersDifferentiator Class

Class RidderDifferentiator encapsulates numerical differentiation of functions.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreRiddersDifferentiator

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class RiddersDifferentiator : IDifferentiator, 
	ICloneable

The RiddersDifferentiator type exposes the following members.

Constructors
 NameDescription
Public methodRiddersDifferentiator Default constructor. Constructs a RiddersDifferentiator instance that can be used to differentiate a function.
Public methodRiddersDifferentiator(Double) Constructs a RiddersDifferentiator instance that can be used to differentiate a function with the specified tolerance level and the default maximum order.
Public methodRiddersDifferentiator(Int32) Constructs a RiddersDifferentiator instance that can be used to differentiate a function with the specified maximum order and default tolerance level.
Public methodRiddersDifferentiator(Double, Int32) Constructs a RiddersDifferentiator instance that can be used to differentiate a function with the specified tolerance level and maximum order.
Top
Properties
 NameDescription
Public propertyStatic memberDefaultMaxOrder Gets and sets the default maximum order for instances of RiddersDifferentiator.
Public propertyStatic memberDefaultTolerance Gets and dets the default error tolerance for instances of RiddersDifferentiator.
Public propertyErrorEstimate Gets an estimate of the error of the differentiation just computed.
Public propertyMaximumOrder Gets and sets the maximum order used in computing differentiations.
Public propertyOrder Gets the order of the final polynomial extrapolation.
Public propertyTableau Gets a matrix of successive approximations computed while computing the differentiation.
Public propertyTolerance Gets and sets the error tolerance used in computing differentiations.
Public propertyToleranceMet Returns true if the Ridders differentiation just computed stopped because the error tolerance was reached; otherwise, false.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this differentiator.
Public methodDifferentiate Differentiates the given function at the given position.
Top
Remarks
This class computes the derivative of a given function at a given x-value by Ridders’ method of polynomial extrapolation. Extrapolations of higher and higher order are produced. Iteration stops when either the estimated error is less than a specificed error tolerance, the error estimate is significantly worse than the previous order, or the maximum order is reached.
See Also