Click or drag to resize

HybridMCGenericTSetPositive(Int32) 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 SetPositive(
	int value
)

Parameters

value  Int32
Proposed value to be checked.

Return Value

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