Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Sage Reference Manual

732393 views
1
C/C++ Library Interfaces
2
========================
3
4
An underlying philosophy in the development of Sage is that it
5
should provide unified library-level access to the some of the best
6
GPL'd C/C++ libraries. Currently Sage provides some access to
7
MWRANK, NTL, PARI, and Hanke, each of which are included with
8
Sage.
9
10
The interfaces are implemented via shared libraries and data is
11
moved between systems purely in memory. In particular, there is no
12
interprocess interpreter parsing (e.g., ``expect``),
13
since everything is linked together and run as a single process.
14
This is much more robust and efficient than using
15
``expect``.
16
17
Each of these interfaces is used by other parts of Sage. For
18
example, mwrank is used by the elliptic curves module to compute
19
ranks of elliptic curves, and PARI is used for computation of class
20
groups. It is thus probably not necessary for a casual user of Sage
21
to be aware of the modules described in this chapter.
22
23
.. toctree::
24
:maxdepth: 2
25
26
sage/libs/cremona/mat
27
sage/libs/cremona/newforms
28
sage/libs/cremona/homspace
29
sage/libs/cremona/constructor
30
sage/libs/gmp/rational_reconstruction
31
sage/libs/lcalc/lcalc_Lfunction
32
sage/libs/ratpoints
33
sage/libs/singular/function
34
sage/libs/singular/function_factory
35
sage/libs/singular/singular
36
sage/libs/singular/polynomial
37
sage/libs/singular/option
38
sage/libs/singular/ring
39
sage/libs/singular/groebner_strategy
40
sage/libs/ppl
41
sage/libs/linbox/linbox
42
sage/libs/flint/flint
43
sage/libs/flint/fmpz_poly
44
sage/libs/flint/arith
45
sage/libs/symmetrica/symmetrica
46
sage/libs/mpmath/utils
47
sage/libs/ntl/all
48
sage/libs/libecm
49
sage/libs/lrcalc/lrcalc
50
sage/libs/pari/handle_error
51
sage/libs/pari/gen_py
52
sage/libs/pari/gen
53
sage/libs/pari/pari_instance
54
sage/libs/pari/closure
55
sage/rings/pari_ring
56
sage/libs/fplll/fplll
57
sage/libs/readline
58
sage/libs/gap/context_managers
59
sage/libs/gap/gap_functions
60
sage/libs/gap/test_long
61
sage/libs/gap/util
62
sage/libs/gap/libgap
63
sage/libs/gap/test
64
sage/libs/gap/element
65
sage/libs/gap/saved_workspace
66
sage/libs/ecl
67
sage/libs/mwrank/interface
68
sage/libs/mwrank/mwrank
69
70
sage/gsl/gsl_array
71
72
sage/ext/interrupt
73
sage/ext/pselect
74
75
.. Cannot be imported independently of mpmath: sage/libs/mpmath/ext_main sage/libs/mpmath/ext_impl sage/libs/mpmath/ext_libmp
76
77
.. Modules depending on optional packages: sage/libs/coxeter3/coxeter sage/libs/coxeter3/coxeter_group sage/libs/fes
78
79
.. include:: ../footer.txt
80
81