/lfunctions

Generic L-function calculator

Primary LanguageC

Generic L-function calculator

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.

Dependencies

It majorly depends on:

which depend on:

However, SageMath comes with all this libraries.

Installation

  1. Download lfunctions
git clone https://github.com/edgarcosta/lfunctions.git
  1. Change your working directory and run the configure file
cd lfunctions
./configure <options>
  1. 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/

  1. Compile everything by doing
make
  1. 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 in build/liblfun.so