Abstract |
public abstract class AbstractRootFinder
The AbstractRootFinder type exposes the following members.
| Name | Description | |
|---|---|---|
| AbstractRootFinder(FuncDouble, Double) | Initializes a new instance of the AbstractRootFinder class. | |
| AbstractRootFinder(FuncDouble, Double, Int32, Double) | Initializes a new instance of the AbstractRootFinder class. |
| Name | Description | |
|---|---|---|
| Accuracy | Gets or sets the desired accuracy for the computed root. | |
| BracketingFactor | Gets or sets the factor used for outward bracketing when searching for an interval that contains a root. | |
| MaximumNumberOfIterations | Sets the maximum number of iterations. | |
| MessageAccuracyNotReached | Gets the localized error message used when the requested accuracy cannot be reached within the maximum number of iterations. | |
| MessageInadequateAlgorithm | Gets the localized error message used when the chosen algorithm cannot solve the equation. | |
| MessageInvalidRange | Gets the localized error message used when an invalid range is encountered while finding a root. | |
| MessageRangeArgumentInvalid | Gets the localized error message used when the provided range argument is not valid. | |
| MessageRootNotBracketed | Gets the localized error message used when the algorithm cannot start because the root does not seem to be bracketed. | |
| MessageRootNotFound | Gets the localized error message used when the algorithm ends without finding a root in the range. |
| 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) | |
| Find | Performs the algorithm-specific root search on the currently configured interval. | |
| 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) | |
| SearchBracketsOutward | Detects a range containing at least one root. | |
| Sign | Helper method useful for preventing rounding errors. | |
| Solve(Double, Double, Boolean) | Solves the equation f(x) == 0. | |
| Solve(Double, Double, Double, Boolean) | Solves the equation f(x) == y. | |
| Swap | Swaps the values of two Double variables. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| _accuracy | Desired accuracy for the computed root. | |
| _function | Function for which a root should be found. | |
| _maximumNumberOfIterations | Maximum number of iterations used by the algorithm. | |
| _originalFunction | Stores the original function when the solver is temporarily configured to solve f(x) == y. | |
| _xMax | Upper bound of the current search interval. | |
| _xMin | Lower bound of the current search interval. | |
| double_Accuracy | Machine epsilon-like accuracy threshold, used as an internal constant. |