Click or drag to resize
DigitalRuneImprovedNewtonRaphsonMethodF Class
Finds roots using an improved Newton-Raphson method (single-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 ImprovedNewtonRaphsonMethodF : NewtonRaphsonMethodF

The ImprovedNewtonRaphsonMethodF type exposes the following members.

Constructors
  NameDescription
Public methodImprovedNewtonRaphsonMethodF
Initializes a new instance of the ImprovedNewtonRaphsonMethodF class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExpandBracket(Single, Single)
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 RootFinderF.)
Public methodExpandBracket(Single, Single, Single)
Takes the initial guessed range [x0, x1] and expands this interval such that x with f(x) = y is in the interval.
(Inherited from RootFinderF.)
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(Single, Single)
Finds the root of the given function.
(Inherited from RootFinderF.)
Protected methodFindRoot(FuncSingle, Single, Single, Single)
Finds the root of the given function.
(Overrides NewtonRaphsonMethodFFindRoot(FuncSingle, Single, Single, Single).)
Public methodFindRoot(Single, Single, Single)
Finds the x for the given function, such that f(x) = y.
(Inherited from RootFinderF.)
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 NewtonRaphsonMethodF.)
Public propertyEpsilon Obsolete.
Gets or sets the tolerance value used for comparing x values (same as EpsilonX).
(Inherited from RootFinderF.)
Public propertyEpsilonX
Gets or sets the tolerance value used for comparing x values.
(Inherited from RootFinderF.)
Public propertyEpsilonY
Gets or sets the tolerance value used for comparing function values.
(Inherited from RootFinderF.)
Public propertyFunction
Gets the function f(x), which root we want to find.
(Inherited from RootFinderF.)
Public propertyMaxNumberOfIterations
Gets or sets the maximum number of iterations.
(Inherited from RootFinderF.)
Public propertyNumberOfIterations
Gets or sets the number of iterations of the last FindRoot(Single, Single) method call.
(Inherited from RootFinderF.)
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