root / pobysoPythonSage / src / checkLibraries-01.sage @ 222
Historique | Voir | Annoter | Télécharger (1,3 ko)
1 | 215 | storres | #! /opt/sage/sage |
---|---|---|---|
2 | 215 | storres | #from scipy.constants.codata import precision |
3 | 215 | storres | def initialize_env(): |
4 | 215 | storres | """ |
5 | 215 | storres | Load all necessary modules. |
6 | 215 | storres | """ |
7 | 215 | storres | if not 'mpfi' in sage.misc.cython.standard_libs: |
8 | 215 | storres | sage.misc.cython.standard_libs.append('mpfi') |
9 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sollya_lib.sage") |
10 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageMpfr.spyx") |
11 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/pobyso.py") |
12 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageSLZ.sage") |
13 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageNumericalOperations.sage") |
14 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageRationalOperations.sage") |
15 | 215 | storres | # Matrix operations are loaded by polynomial operations. |
16 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage") |
17 | 215 | storres | load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageRunSLZ.sage") |
18 | 215 | storres | |
19 | 215 | storres | print "Checking libraries for syntax errors terminated without error." |
20 | 215 | storres | |
21 | 215 | storres | |
22 | 215 | storres | initialize_env() |
23 | 215 | storres | objectSo = pobyso_constant_0_sa_so() |
24 | 215 | storres | pobyso_autoprint(objectSo) |
25 | 215 | storres | endEllipticList = pobyso_end_elliptic_list_so_sa_so(objectSo, 5) |
26 | 215 | storres | pobyso_autoprint(endEllipticList) |