IntervalContains(Double, IntervalType, IntervalType) Method
Determines whether a given point is contained in the interval, with the left and right endpoints
separately specififed as closed or open.
Namespace: Meta.NumericsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
public bool Contains(
double x,
IntervalType leftEndpointType,
IntervalType rightEndpointType
)
Public Function Contains (
x As Double,
leftEndpointType As IntervalType,
rightEndpointType As IntervalType
) As Boolean
public:
bool Contains(
double x,
IntervalType leftEndpointType,
IntervalType rightEndpointType
)
member Contains :
x : float *
leftEndpointType : IntervalType *
rightEndpointType : IntervalType -> bool
- x Double
- The point.
- leftEndpointType IntervalType
- Specifier of whether the interval should be considered as including its left endpoint.
- rightEndpointType IntervalType
- Specifier of whether the interval should be considered as including its right endpoint.
Boolean if
x is contained in the interval as specified,
otherwise