A representation of a fraction. This object simply have
The numerator/denominator can be of any type of Object.
|
|
|
copy(self)
return a copy of the frac variable |
source code
|
|
|
simplify(self)
apply rule of simplification |
source code
|
|
|
|
|
expand(self)
Expand the content information |
source code
|
|
|
__eq__(self,
obj)
Define the Equality of two Object |
source code
|
|
|
|
|
|
|
|
|
|
|
__add__(self,
obj)
We don't need to deal with addition-substraction on this type of
Object |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|