ManagedIterativeAlgorithm<T, TError, TReport>.ThrowExceptionOnFailure Property

Gets or sets a value indicating whether to throw an exception when the algorithm fails to converge.

Definition

Namespace: Extreme.Mathematics.Algorithms
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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