Thank you !!! :-)
Would there be any way to do the same thing without having to import
RR in all of my functions, though ? It's really mainly to distinguish
numerical values from different types, so I thought there may be a
Python way to do it ... Though it perfectly works like that ! :-)
Nathann
Try doing
x in RR
- Robert
On May 7, 2010, at 2:38 PM, Nathann Cohen wrote:
Hello everybody !!!
I am trying to find out how to check whether some Sage variable is
numerical (let's say real, as opposed to None, False, {}, Set([]),
etc..), but was not lucky on Google... ^^;
Do you know the f
Hello everybody !!!
I am trying to find out how to check whether some Sage variable is
numerical (let's say real, as opposed to None, False, {}, Set([]),
etc..), but was not lucky on Google... ^^;
Do you know the function I am looking for ? :-)
Thank youu !!!
Nathann
--
To post to this g