lmfdb | L-Functions and Modular Forms Database | Serverless library
kandi X-RAY | lmfdb Summary
kandi X-RAY | lmfdb Summary
L-Functions and Modular Forms Database
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates an ECNF instance for a field .
- Creates the object for the given curve .
- Render a web number field .
- Make the curve .
- Creates a new table .
- Create a LFunction instance from a dictionary .
- Perform a search .
- Import data from a file .
- Find HMF curves .
- create lcalc file for lcalc
lmfdb Key Features
lmfdb Examples and Code Snippets
Community Discussions
Trending Discussions on lmfdb
QUESTION
I have been using the database of lmfdb.org to know the integral basis of a number field. Now, I want to utilize Pari GP in multiplying algebraic integers. However, I have encountered a problem. Pari GP uses the integral basis "nf.zk" in its computations, which apparently is not always the same as the "nfbasis(f)", which is the integral basis that lmfdb.org provides.
For example, we have the following code from Pari GP.
...ANSWER
Answered 2022-Mar-06 at 23:12When we take the trouble to initialize an
nf
structure withnfinit
, we perform precomputations to speed up later work. Here,nfinit
first computes the integer basis by callingnfbasis
, which returns the (canonical) HNF basis, then LLL-reduces it with respect to the T2 norm. The LLL-reduced basis is usually different from the HNF one, but it usually have smaller elements.This LLL reduction can be expensive (in particular when the degree is large) but it ensures that time complexities are bounded in terms of the field discriminant instead of the size of the input polynomial. I believe all polynomials defining number fields in the lmfdb were run through
polredabs
which ensures their coefficients are small (in terms of the field discriminant), but the HNF integer basis may still be much larger than the LLL one. Additionally, if an algebraic integer has small T2 norm, its expression in terms of the LLL-reduced basis is guaranteed to have small coefficients, whereas it can have much larger coefficients on the HNF basis.In pari-2.14 (which is not released yet but available via
git
or through nightly snapshots on the PARI/GP website), you can use nfinit(, 4), which removes the LLL reduction step. This speeds up the initialization, but usually slows down every operation involving the resultingnf
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lmfdb
You can use lmfdb like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page