IntervalContains(Double, IntervalType) Method
Determines whether a given point is contained in the closed or open interval.
Namespace: Meta.NumericsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
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
- x Double
- The point.
- type IntervalType
- Specifier of whether the interval should be considered closed or open.
Boolean if
x is contained in the interval as specified,
otherwise