Statistiques
| Révision :

root / pobysoPythonSage / src / checkLibraries-01.sage @ 222

Historique | Voir | Annoter | Télécharger (1,3 ko)

1
#! /opt/sage/sage
2
#from scipy.constants.codata import precision
3
def initialize_env():
4
    """
5
    Load all necessary modules.
6
    """
7
    if not 'mpfi' in sage.misc.cython.standard_libs:
8
        sage.misc.cython.standard_libs.append('mpfi')
9
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sollya_lib.sage")
10
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageMpfr.spyx")
11
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/pobyso.py")
12
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageSLZ.sage")
13
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageNumericalOperations.sage")
14
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageRationalOperations.sage")
15
    # Matrix operations are loaded by polynomial operations.
16
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage")
17
    load("/home/storres/recherche/arithmetique/pobysoPythonSage/src/sageSLZ/sageRunSLZ.sage")
18
    print
19
    print "Checking libraries for syntax errors terminated without error."
20
    print
21

    
22
initialize_env()
23
objectSo = pobyso_constant_0_sa_so()
24
pobyso_autoprint(objectSo)
25
endEllipticList = pobyso_end_elliptic_list_so_sa_so(objectSo, 5)
26
pobyso_autoprint(endEllipticList)