A generic L-function calculator for motivic L-functions, originally written by Dave J. Platt.
For details of the methods we refer to:
- Computing motivic L-functions, (under preparation) by Jonathan W. Bober, Andrew R. Booker, Edgar Costa, Min Lee, David J. Platt, and Andrew V. Sutherland.
It majorly depends on:
which depend on:
- FLINT: Fast Library for Number Theory (for Arb)
- GMP: GNU Multiple Precision Arithmetic Library (for FLINT)
- MPFR: GNU Multiple Precision Floating-Point Reliably (for FLINT)
However, SageMath comes with all this libraries.
- Download
lfunctions
git clone https://github.com/edgarcosta/lfunctions.git
- Change your working directory and run the configure file
cd lfunctions
./configure <options>
- If any of these libraries are installed in some other location than the default path
/usr/local
, pass--with-arb=...
,--with-primesieve=...
,--with-gmp=...
,--with-mpfr=...
, or--with-flint=...
with the correct path to configure (type ./configure --help to show more options).
Note that with exception of primesieve
, all these libraries are already provided by SageMath,
and one can do --with-arb=<SAGE_DIR>/local/
- Compile everything by doing
make
- You can use it as shared library, the inteface is defined in
interface is defined in
include/glfunc.h
and the shared library is provided inbuild/liblfun.so