ManagedIterativeAlgorithm<T, TError, TReport>.ThrowExceptionOnFailure 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#
public bool ThrowExceptionOnFailure { get; set; }

Property Value

Boolean
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

See Also