Révision 87 pobysoPythonSage/src/sageSLZ/sageRationalOperations.sage
sageRationalOperations.sage (revision 87) | ||
---|---|---|
5 | 5 |
|
6 | 6 |
- Serge Torres: first operations set (2013-04) |
7 | 7 |
""" |
8 |
|
|
8 |
print "sageRationalOperations loading..." |
|
9 | 9 |
def sro_denominators(rationalList = None): |
10 | 10 |
""" |
11 | 11 |
Compute the list of the denominators of a rational numbers list. |
... | ... | |
42 | 42 |
def sro_lcmm(rationalList = None): |
43 | 43 |
""" |
44 | 44 |
Compute the lcm of an sequence (list, tuple) of rational numbers. |
45 |
In fact, we can (should and do) use lcm instead: it accepts a list argument. |
|
46 |
Kept here has a model for this kind of functions. |
|
45 | 47 |
""" |
46 | 48 |
# No argument. |
47 | 49 |
if rationalList is None: |
... | ... | |
98 | 100 |
return(numeratorsList) |
99 | 101 |
# End sro_numerators |
100 | 102 |
|
101 |
print "sageRationalOperations loaded..." |
|
103 |
print "\t...sageRationalOperations loaded" |
Formats disponibles : Unified diff