Nombre non nécessairement défini !!! Work in progress !!! ??? à transformer en class NumberNone. Plus de détails...
Fonctions | |
| def | add |
| x + y | |
| def | div |
| x / y | |
| def | divmod |
| divmod(x, y) | |
| def | falling_factorial_pow |
| ke puissance factorielle descendante de x | |
| def | inv |
| 1/x | |
| def | mod |
| x mod y | |
| def | mul |
| x * y | |
| def | neg |
| -x | |
| def | rising_factorial_pow |
| ke puissance factorielle montante de x | |
| def | sub |
| x - y | |
Variables | |
| string | VERSION = 'numbernone --- 2010 March 16' |
| Date du dernier changement pour ce module. | |
Nombre non nécessairement défini !!! Work in progress !!! ??? à transformer en class NumberNone.
| def DSPython.numbernone.add | ( | x, | |
| y | |||
| ) |
x + y
Renvoie x + y
ou None si x ou y == None
Pre: x: Number ou None
y: Number ou None
Result: Number ou None
O(x, y) = ...
Définition à la ligne 29 du fichier numbernone.py.
| def DSPython.numbernone.div | ( | x, | |
| y | |||
| ) |
x / y
Renvoie x / y
ou None si x ou y == None ou y == 0
Pre: x: Number ou None
y: Number ou None
Result: Number ou None
O(x, y) = ...
Définition à la ligne 47 du fichier numbernone.py.
| def DSPython.numbernone.divmod | ( | x, | |
| y | |||
| ) |
divmod(x, y)
Renvoie divmod(x, y)
ou None si x ou y == None ou y == 0
Pre: x: Real ou None
y: Real ou None
Result: (Real ou None, Real ou None)
O(x, y) = ...
Définition à la ligne 65 du fichier numbernone.py.
Référencé par DSPython.cnat32array.Cnat32array.__getitem__(), DSPython.baset.Baset.__setitem__(), DSPython.intmod.Intmod.__truediv__(), DSPython.finitec.c(), DSPython.nbsystem.figset(), DSPython.factors.godelnumber_to_list(), DSPython.tnp1.L(), DSPython.baset.Baset.nb_not0(), DSPython.natural.pow3(), DSPython.factors.primaries(), DSPython.factors.primes(), DSPython.baset.Baset.print_tree(), DSPython.finitec.s(), DSPython.numbernone.sub(), DSPython.nbsystem.sum_figs(), DSPython.nbsystem.sum_figs_alt(), DSPython.nbsystem.to_list(), DSPython.nbsystem.to_str(), et DSPython.natural.unitarydivisors().
| def DSPython.numbernone.falling_factorial_pow | ( | x, | |
| k | |||
| ) |
ke puissance factorielle descendante de x
Renvoie la kème puissance factorielle descendante de x
== x * (x - 1) * (x - 2) * ... * (x - k + 1)
ou None si non défini
Pre: x: Number ou None
k: Integral ou None
Result: Number ou None
O(x, k) = ...
Définition à la ligne 83 du fichier numbernone.py.
Références DSPython.numbernone.inv(), et DSPython.numbernone.rising_factorial_pow().
Référencé par DSPython.numbernone.rising_factorial_pow(), et DSPython.numbernone.sub().
| def DSPython.numbernone.inv | ( | x | ) |
1/x
Renvoie 1/x ou None si x == None ou 0 Pre: x: Number ou None Result: Number ou None O(x) = ...
Définition à la ligne 113 du fichier numbernone.py.
Référencé par DSPython.numbernone.falling_factorial_pow(), et DSPython.numbernone.rising_factorial_pow().
| def DSPython.numbernone.mod | ( | x, | |
| y | |||
| ) |
x mod y
Renvoie x mod y
ou None si x ou y == None ou y == 0
Pre: x: Number ou None
y: Number ou None
Result: Number ou None
O(x, y) = ...
Définition à la ligne 129 du fichier numbernone.py.
| def DSPython.numbernone.mul | ( | x, | |
| y | |||
| ) |
x * y
Renvoie x * y
ou None si x ou y == None
Pre: x: Number ou None
y: Number ou None
Result: Number ou None
O(x, y) = ...
Définition à la ligne 147 du fichier numbernone.py.
| def DSPython.numbernone.neg | ( | x | ) |
-x
Renvoie -x ou None si x == None Pre: x: Number ou None Result: Number ou None O(x) = ...
Définition à la ligne 165 du fichier numbernone.py.
| def DSPython.numbernone.rising_factorial_pow | ( | x, | |
| k | |||
| ) |
ke puissance factorielle montante de x
Renvoie la kème puissance factorielle montante de x
== x * (x + 1) * (x + 2) * ... * (x + k - 1)
ou None si non défini
Pre: x: Number ou None
k: Integral ou None
Result: Number ou None
O(x, k) = ...
Définition à la ligne 181 du fichier numbernone.py.
Références DSPython.numbernone.falling_factorial_pow(), et DSPython.numbernone.inv().
Référencé par DSPython.numbernone.falling_factorial_pow(), et DSPython.numbernone.sub().
| def DSPython.numbernone.sub | ( | x, | |
| y | |||
| ) |
x - y
Renvoie x - y
ou None si x ou y == None
Pre: x: Number ou None
y: Number ou None
Result: Number ou None
O(x, y) = ...
Définition à la ligne 211 du fichier numbernone.py.
Références DSPython.numbernone.divmod(), DSPython.numbernone.falling_factorial_pow(), DSPython.tnp1.main_test(), et DSPython.numbernone.rising_factorial_pow().