IntervalContains Method (Double, IntervalType) |
Determines whether a given point is contained in the closed or open interval.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public bool Contains(
double x,
IntervalType type
)
Public Function Contains (
x As Double,
type As IntervalType
) As Boolean
public:
bool Contains(
double x,
IntervalType type
)
member Contains :
x : float *
type : IntervalType -> bool
Parameters
- x
- Type: SystemDouble
The point. - type
- Type: Meta.NumericsIntervalType
Specifier of whether the interval should be considered closed or open.
Return Value
Type:
Boolean if
x is contained in the interval as specified,
otherwise
See Also