Merge remote-tracking branch 'origin/mass_test' into mass_test
This commit is contained in:
commit
8f59dd1e73
16
test/trop_de_tests.rst
Normal file
16
test/trop_de_tests.rst
Normal file
@ -0,0 +1,16 @@
|
||||
Faire tous les cas de figures
|
||||
=============================
|
||||
|
||||
Tester toutes les multiplications possibles
|
||||
-------------------------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
>>> from itertools import permutations
|
||||
>>> coefs_p = [[(i-2),(j-2)] for i,j in permutations(range(5),2)]
|
||||
>>> coefs_q = [[2*(i-2),2*(j-2)] for i,j in permutations(range(5),2)]
|
||||
>>> l_p = [Polynom(i) for i in coefs_p]
|
||||
>>> l_q = [Polynom(i) for i in coefs_q]
|
||||
>>> operations = [Expression([l_p[i],l_q[j],op.mul]) for i,j in permutations(range(len(coefs_p)),2)]
|
||||
>>> for i in operations:
|
||||
... print(i)
|
Loading…
Reference in New Issue
Block a user