Click or drag to resize

HybridMCGenericTSetNonNegative Method

Method to check and set a quantity to a non-negative value.

Namespace: Altaxo.Calc.Statistics.Mcmc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected int SetNonNegative(
	int value
)

Parameters

value  Int32
Proposed value to be checked.

Return Value

Int32
Returns value if it is greater than or equal to zero.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrows when value is negative.
See Also