Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quinary
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gustavo Rama
quinary
Commits
8de813d4
Commit
8de813d4
authored
3 years ago
by
Gustavo Rama
Browse files
Options
Downloads
Patches
Plain Diff
add example of gp code
parent
531dbea3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gp/example.gp
+11
-0
11 additions, 0 deletions
gp/example.gp
with
11 additions
and
0 deletions
gp/example.gp
0 → 100644
+
11
−
0
View file @
8de813d4
\r omf
\\ Quadratic form of level 19
q = [2, 0, 0, 1, 1; 0, 2, 0, 1, 0; 0, 0, 2, 0, 1; 1, 1, 0, 2, 0; 1, 0, 1, 0, 6];
\\ We initialize the orthogonal modular forms for q
omf = omf_init(q);
\\ We initialize the information to compute T2 for k = 3, j = 2 (a = 1, b = 1)
t2 = omf_tpabd_init(omf, 2, 1, 1);
\\ We compute the invariant space for d = 1
inv = omf_invariantsabd(omf, 1, 1, 1);
\\ We compute the Hecke operator for p = 2, d = 1 (we have to multiply by p^a)
T2 = omf_tpnd(t2[1], 1, inv, t2[2])*2;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment