Interval.Contains Method (Double) |
Determines whether a given point is contained in the closed interval.
Namespace:
Meta.Numerics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntaxpublic bool Contains(
double x
)
Public Function Contains (
x As Double
) As Boolean
public:
bool Contains(
double x
)
member Contains :
x : float -> bool
Parameters
- x
- Type: System.Double
The point.
Return Value
Type:
Booleantrue if
x is contained in the closed interval [a,b],
otherwise
false.
See Also