Click or drag to resize
DigitalRuneImprovedNewtonRaphsonMethodD Class
Finds roots using an improved Newton-Raphson method (double-precision).
Inheritance Hierarchy

Namespace: DigitalRune.Mathematics.Analysis
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public class ImprovedNewtonRaphsonMethodD : NewtonRaphsonMethodD

The ImprovedNewtonRaphsonMethodD type exposes the following members.

Constructors
  NameDescription
Public methodImprovedNewtonRaphsonMethodD
Initializes a new instance of the ImprovedNewtonRaphsonMethodD class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExpandBracket(Double, Double)
Takes the initial guessed range [x0, x1] and expands this interval such that the root xroot where f(xroot) = 0 is in the interval.
(Inherited from RootFinderD.)
Public methodExpandBracket(Double, Double, Double)
Takes the initial guessed range [x0, x1] and expands this interval such that x with f(x) = y is in the interval.
(Inherited from RootFinderD.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindRoot(Double, Double)
Finds the root of the given function.
(Inherited from RootFinderD.)
Protected methodFindRoot(FuncDouble, Double, Double, Double)
Finds the root of the given function.
(Overrides NewtonRaphsonMethodDFindRoot(FuncDouble, Double, Double, Double).)
Public methodFindRoot(Double, Double, Double)
Finds the x for the given function, such that f(x) = y.
(Inherited from RootFinderD.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDerivative
Gets a function that computes the derivative f'(x).
(Inherited from NewtonRaphsonMethodD.)
Public propertyEpsilon Obsolete.
Gets or sets the tolerance value used for comparing x values (same as EpsilonX).
(Inherited from RootFinderD.)
Public propertyEpsilonX
Gets or sets the tolerance value used for comparing x values.
(Inherited from RootFinderD.)
Public propertyEpsilonY
Gets or sets the tolerance value used for comparing function values.
(Inherited from RootFinderD.)
Public propertyFunction
Gets the function f(x), which root we want to find.
(Inherited from RootFinderD.)
Public propertyMaxNumberOfIterations
Gets or sets the maximum number of iterations.
(Inherited from RootFinderD.)
Public propertyNumberOfIterations
Gets or sets the number of iterations of the last FindRoot(Double, Double) method call.
(Inherited from RootFinderD.)
Top
Remarks

This root finding algorithm uses a combination of the bisection method and the Newton-Raphson to provide global convergence.

This algorithm needs a function f'(x) which can compute the derivative of the function f(x) as additional inputs.

See Also