Gets or sets a value indicating whether to throw an
exception when the algorithm fails to converge.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Property ThrowExceptionOnFailure As Boolean |
| C# |
|---|
public bool ThrowExceptionOnFailure { get; set; } |
| C++ |
|---|
public: bool ThrowExceptionOnFailure { bool get (); void set (bool value); } |
Value
true if an exception is to be thrown; otherwise false.
Remarks
Setting this property to true is not
recommended. To verify that the algorithm was
successful, evaluate the AlgorithmStatus
property after the algorithm has been run.
AlgorithmStatus