Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
::
isMember(QQ,RRi)
next
|
previous
|
forward
|
backward
| up |
index
|
toc
isMember(QQ,RRi) -- membership test in an interval
Synopsis
Function:
isMember
Usage:
isMember(x,I)
Inputs:
x
,
a
rational number
,
a
rational number
,
an
integer
, or
a
real number
,
I
,
a
real interval
,
Outputs:
a
Boolean value
,
Description
Returns true if the input number is in the interval.
See also
isEmpty
Ways to use this method:
isMember(QQ,RRi)
-- membership test in an interval
isMember(RR,RRi)
isMember(ZZ,RRi)