Click or drag to resize

NewtonRootFinder Class

Root finder using Newton's method.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.RootFindingAbstractRootFinder
    Altaxo.Calc.RootFindingNewtonRootFinder

Namespace: Altaxo.Calc.RootFinding
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class NewtonRootFinder : AbstractRootFinder

The NewtonRootFinder type exposes the following members.

Constructors
 NameDescription
Public methodNewtonRootFinder(FuncDouble, Double, FuncDouble, Double) Initializes a new instance of the NewtonRootFinder class.
Public methodNewtonRootFinder(FuncDouble, Double, FuncDouble, Double, Int32, Double) Initializes a new instance of the NewtonRootFinder class.
Top
Properties
 NameDescription
Public propertyAccuracy Gets or sets the desired accuracy for the computed root.
(Inherited from AbstractRootFinder)
Public propertyBracketingFactor Gets or sets the factor used for outward bracketing when searching for an interval that contains a root.
(Inherited from AbstractRootFinder)
Public propertyMaximumNumberOfIterations Sets the maximum number of iterations.
(Inherited from AbstractRootFinder)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodFind Performs the algorithm-specific root search on the currently configured interval.
(Overrides AbstractRootFinderFind)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSearchBracketsOutward Detects a range containing at least one root.
(Inherited from AbstractRootFinder)
Protected methodSign Helper method useful for preventing rounding errors.
(Inherited from AbstractRootFinder)
Public methodSolve(Double, Double, Boolean) Solves the equation f(x) == 0.
(Inherited from AbstractRootFinder)
Public methodSolve(Double, Double, Double, Boolean) Solves the equation f(x) == y.
(Inherited from AbstractRootFinder)
Protected methodSwap Swaps the values of two Double variables.
(Inherited from AbstractRootFinder)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_accuracy Desired accuracy for the computed root.
(Inherited from AbstractRootFinder)
Protected field_derivativeOfFunction Derivative of the function used by Newton's method.
Protected field_function Function for which a root should be found.
(Inherited from AbstractRootFinder)
Protected field_maximumNumberOfIterations Maximum number of iterations used by the algorithm.
(Inherited from AbstractRootFinder)
Protected field_originalFunction Stores the original function when the solver is temporarily configured to solve f(x) == y.
(Inherited from AbstractRootFinder)
Protected field_xMax Upper bound of the current search interval.
(Inherited from AbstractRootFinder)
Protected field_xMin Lower bound of the current search interval.
(Inherited from AbstractRootFinder)
Top
See Also