Gets or sets a value indicating whether to throw an
exception when the algorithm fails to converge.
Namespace:
Extreme.Mathematics.Algorithms
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public bool ThrowExceptionOnFailure { get; set; }
Public Property ThrowExceptionOnFailure As Boolean
Get
Set
public:
property bool ThrowExceptionOnFailure {
bool get ();
void set (bool value);
}
member ThrowExceptionOnFailure : bool with get, set
Property Value
Type:
Booleantrue if an exception is to be thrown;
otherwise
.
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
Reference