Click or drag to resize

HybridMCGenericTSetPositive(Double) 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 double SetPositive(
	double value
)

Parameters

value  Double
Proposed value to be checked.

Return Value

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