NewtonRaphson Class |
If the derivative is available, it can be provided, otherwise it works by numerically calculating the derivative.
Namespace: DHI.Mike1D.Generic.MathAlgorithms
The NewtonRaphson type exposes the following members.
Name | Description | |
---|---|---|
![]() | NewtonRaphson(NewtonRaphsonFunction) |
Constructor for finding zeros of the function |
![]() | NewtonRaphson(NewtonRaphsonFunction, NewtonRaphsonFunction) |
Constructor for finding zeros of the function |
Name | Description | |
---|---|---|
![]() | Derivative |
Derivative of function to solve, if available, otherwise null.
|
![]() | Epsilon | |
![]() | FEpsilon | |
![]() | Func |
Function to solve
|
![]() | MaxIter |
Maximum number of iterations. Default 100
|
![]() | NewValueAction |
Action to perform when a new value is calculated.
|
![]() | NumIter |
Hold the actual number of iterations for the last solve.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Solve |
Solves for zeros, using x as starting point
and updating the value of x as a result.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |