Holds the values which form the bounds of a range of real numbers.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Bounds(
double lowerBound,
double upperBound
)
Public Sub New (
lowerBound As Double,
upperBound As Double
)
public:
Bounds(
double lowerBound,
double upperBound
)
new :
lowerBound : float *
upperBound : float -> Bounds
Parameters
- lowerBound
- Type: SystemDouble
The minimal value defining the range of numbers. - upperBound
- Type: SystemDouble
The maximal value defining the range of numbers.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when the upperBound is less than the lowerBound or when
one value is NaN and the other is not.
|
See Also