Managed Iterative Algorithm<T, TError, TReport>.Throw Exception On Failure Property
Gets or sets whether to throw an
exception when the algorithm fails to converge.
Definition
Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
true if an exception is to be thrown; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public bool ThrowExceptionOnFailure { get; set; }
Property Value
Booleantrue 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