Home | Trees | Index | Help |
|
---|
Package sage :: Package rings :: Module real_field :: Class RealField_mpf |
|
object
--+ |Ring
--+ |RealField
--+ |object
--+ | | |_uniq_RR_mpf
--+ | RealField_mpf
>>> R = RealField_decimal(); S = RealField_mpf() >>> R(1) + S(1) 2.0 >>> R(2)*S(2) 4.0
Method Summary | |
---|---|
Coerce x into the ring. | |
__cmp__(self,
other)
| |
__repr__(self)
| |
Inherited from RealField | |
(Static method) | |
Returns the characteristic of the real field, which is 0. | |
Returns Euler's constant gamma = 0.57721566... | |
Returns True, since the real field is a field. | |
Returns a short string 'R' that describes the real field. | |
Returns pi to at least the given precision. | |
Inherited from Ring | |
| |
| |
True if the elements have atomic string representations, in the sense that they print if they print at s, then -s means the negative of s. | |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Method Details |
---|
__call__(self,
x,
prec=0)
Coerce x into the ring.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon May 9 17:57:02 2005 | http://epydoc.sf.net |