[sagemath-database-elliptic-curves] 01/03: Imported Upstream version 0.8
Julien Puydt
julien.puydt at laposte.net
Tue Jun 23 16:55:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository sagemath-database-elliptic-curves.
commit 81e436cb7991e8e579aef0c33e83f96babf71993
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sun Feb 22 08:45:21 2015 +0100
Imported Upstream version 0.8
---
SPKG.txt | 60 ---------------
{src/common => common}/allcurves.00000-09999 | 0
ellcurves/..rank15.sage-chat.sage-backup | 0
ellcurves/..rank3.sage-chat.sage-backup | 0
ellcurves/..rank4.sage-chat.sage-backup | 0
ellcurves/..rank9.sage-chat.sage-backup | 0
ellcurves/.rank15.sage-backup | 1 +
ellcurves/.rank15.sage-chat | 0
.../rank3 => ellcurves/.rank3.sage-backup | 0
ellcurves/.rank3.sage-chat | 0
ellcurves/.rank4.sage-backup | 10 +++
ellcurves/.rank4.sage-chat | 0
ellcurves/.rank9.sage-backup | 7 ++
ellcurves/.rank9.sage-chat | 0
ellcurves/rank10 | 6 ++
ellcurves/rank11 | 6 ++
ellcurves/rank12 | 1 +
ellcurves/rank14 | 1 +
ellcurves/rank15 | 1 +
ellcurves/rank17 | 1 +
ellcurves/rank19 | 1 +
ellcurves/rank20 | 1 +
ellcurves/rank21 | 1 +
ellcurves/rank22 | 1 +
ellcurves/rank23 | 1 +
ellcurves/rank24 | 1 +
ellcurves/rank28 | 1 +
{src/ellcurves => ellcurves}/rank3 | 0
ellcurves/rank4 | 10 +++
ellcurves/rank5 | 5 ++
ellcurves/rank6 | 5 ++
ellcurves/rank7 | 5 ++
ellcurves/rank8 | 6 ++
ellcurves/rank9 | 7 ++
spkg-install | 88 ----------------------
src/ellcurves/rank4 | 1 -
src/ellcurves/rank5 | 1 -
src/ellcurves/rank6 | 1 -
src/ellcurves/rank7 | 1 -
src/ellcurves/rank8 | 1 -
40 files changed, 79 insertions(+), 153 deletions(-)
diff --git a/SPKG.txt b/SPKG.txt
deleted file mode 100644
index fded08b..0000000
--- a/SPKG.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-= elliptic_curves =
-
-== Description ==
-
-Includes two databases:
-
- * A small subset of the data in John Cremona's database of elliptic curves up
- to conductor 10000. See http://www.warwick.ac.uk/~masgaj/ftp/data/ or
- http://sage.math.washington.edu/cremona/INDEX.html
- * William Stein's database of interesting curves
-
-== SPKG Maintainers ==
-
- * R. Andrew Ohana <andrew.ohana at gmail.com>
-
-== Upstream Contact ==
-
-=== cremona_mini ===
-
- * Author: John Cremona
- * Email: john.cremona at gmail.com
- * Website: http://www.warwick.ac.uk/~masgaj/ftp/data/
-
-=== ellcurves ===
-
- * Author: William Stein
- * Email: wstein at gmail.com
-
-== Dependencies ==
-
- * sqlite
- * python
-
-== Changelog ==
-
-=== elliptic_curves-0.7 (R. Andrew Ohana, 2012-05-17) ===
- * #13123: move SAGE_DATA to SAGE_LOCAL/share
-
-=== elliptic_curves-0.6 (R. Andrew Ohana, 2012-03-27) ===
- * #12763: fix permissions for the installed files
-
-=== elliptic_curves-0.5 (Keshav Kini, 2012-03-18) ===
- * #12694: make the spkg contain a src/ directory and track everything else
-
-=== elliptic_curves-0.4 (R. Andrew Ohana, 9 March 2012) ===
- * #12644: reduce the size of the spkg by half
- * use os.path.join and file.xreadlines
-
-=== elliptic_curves-0.3 (R. Andrew Ohana, 9 September 2011) ===
- * Fixed a potential bug in spkg-install script
- * cremona_mini install script now constructs the database from scratch
-
-=== elliptic_curves-0.2 (R. Andrew Ohana, 1 August 2011) ===
- * Updated cremona_mini to use a SQLite3 database
- * Made SPKG follow guidelines
-
-=== elliptic_curves-0.1 (unknown, unknown) ===
- * previous version(s)
- * lost to history
-
diff --git a/src/common/allcurves.00000-09999 b/common/allcurves.00000-09999
similarity index 100%
rename from src/common/allcurves.00000-09999
rename to common/allcurves.00000-09999
diff --git a/ellcurves/..rank15.sage-chat.sage-backup b/ellcurves/..rank15.sage-chat.sage-backup
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/..rank3.sage-chat.sage-backup b/ellcurves/..rank3.sage-chat.sage-backup
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/..rank4.sage-chat.sage-backup b/ellcurves/..rank4.sage-chat.sage-backup
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/..rank9.sage-chat.sage-backup b/ellcurves/..rank9.sage-chat.sage-backup
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/.rank15.sage-backup b/ellcurves/.rank15.sage-backup
new file mode 100644
index 0000000..0274bb3
--- /dev/null
+++ b/ellcurves/.rank15.sage-backup
@@ -0,0 +1 @@
+164007785374008600847294301252891222936905925387461785510 a 1 [1,0,0,-209811944511283096494753999485,26653992551590286206010035905960909459942897] 15 1
\ No newline at end of file
diff --git a/ellcurves/.rank15.sage-chat b/ellcurves/.rank15.sage-chat
new file mode 100644
index 0000000..e69de29
diff --git a/src/ellcurves/rank3 b/ellcurves/.rank3.sage-backup
similarity index 100%
copy from src/ellcurves/rank3
copy to ellcurves/.rank3.sage-backup
diff --git a/ellcurves/.rank3.sage-chat b/ellcurves/.rank3.sage-chat
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/.rank4.sage-backup b/ellcurves/.rank4.sage-backup
new file mode 100644
index 0000000..f3f628f
--- /dev/null
+++ b/ellcurves/.rank4.sage-backup
@@ -0,0 +1,10 @@
+234446 a 1 [1,-1,0,-79,289] 4 1
+545723 a 1 [0,0,1,-7,36] 4 1
+842596 a 1 [0,0,0,-169,841] 4 1
+926584 a 1 [0,0,0,-127,610] 4 1
+1099496 a 1 [0,0,0,-172,820] 4 1
+1109716 a 1 [0,0,0,-64,169] 4 1
+1129211 a 1 [0,0,1,-19,60] 4 1
+1142158 a 1 [1,-1,0,-1,73] 4 1
+1162928 a 1 [0,0,0,-259,2194] 4 1
+1175648 a 1 [0,0,0,-316,2080] 4 1
\ No newline at end of file
diff --git a/ellcurves/.rank4.sage-chat b/ellcurves/.rank4.sage-chat
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/.rank9.sage-backup b/ellcurves/.rank9.sage-backup
new file mode 100644
index 0000000..c303f2e
--- /dev/null
+++ b/ellcurves/.rank9.sage-backup
@@ -0,0 +1,7 @@
+32107342006814614 a 1 [1,-1,0,-135004,97151644] 9 1
+43537345103385386 a 1 [1,-1,0,-613069,98885089] 9 1
+62986816173592807 a 1 [0,0,1,-3835819,2889890730] 9 1
+72070075910145406 a 1 [1,0,1,-1493028,701820182] 9 1
+77211251506212554 a 1 [1,0,1,-1076185,496031340] 9 1
+484154179417645171 a 1 [0,1,1,-3529920,2567473020] 9 1
+9612838979769443646330 a 1 [1,-1,1,-1608154463,25555312501831] 9 1
\ No newline at end of file
diff --git a/ellcurves/.rank9.sage-chat b/ellcurves/.rank9.sage-chat
new file mode 100644
index 0000000..e69de29
diff --git a/ellcurves/rank10 b/ellcurves/rank10
new file mode 100644
index 0000000..abac3a3
--- /dev/null
+++ b/ellcurves/rank10
@@ -0,0 +1,6 @@
+10189285026863130793 a 1 [0,0,1,-16312387,25970162646] 10 1
+22006161865320788846 a 1 [1,-1,0,-10194109,12647638369] 10 1
+22630148490190627609 a 1 [0,0,1,-21078967,35688990786] 10 1
+25440555737235843986 a 1 [1,-1,0,-1536664,648294124] 10 1
+39432942782223365758 a 1 [1,-1,0,-4513546,3716615296] 10 1
+1971056874401658426264 a 1 [0,1,0,-73169143545,8305634997295659] 10 1
\ No newline at end of file
diff --git a/ellcurves/rank11 b/ellcurves/rank11
new file mode 100644
index 0000000..6228224
--- /dev/null
+++ b/ellcurves/rank11
@@ -0,0 +1,6 @@
+18031737725935636520843 a 1 [0,0,1,-16359067,26274178986] 11 1
+66484354768372183177742 a 1 [1,-1,0,-38099014,115877816224] 11 1
+219576020293485812169274 a 1 [1,-1,0,-41032399,106082399089] 11 1
+227946110025657660240686 a 1 [1,-1,0,-34125664,69523358164] 11 1
+252948166615918192888894 a 1 [1,-1,0,-56880994,168642718624] 11 1
+1803406168183626767102437 a 1 [0,0,1,-56874727,151924164456] 11 1
\ No newline at end of file
diff --git a/ellcurves/rank12 b/ellcurves/rank12
new file mode 100644
index 0000000..9489f40
--- /dev/null
+++ b/ellcurves/rank12
@@ -0,0 +1 @@
+269601712590130409544942497797 a 1 [0,0,1,-6349808647,193146346911036] 12 1
\ No newline at end of file
diff --git a/ellcurves/rank14 b/ellcurves/rank14
new file mode 100644
index 0000000..032fc93
--- /dev/null
+++ b/ellcurves/rank14
@@ -0,0 +1 @@
+36275332432131715984679943280544970923 a 1 [0,0,1,-2248232106757,1329472091379662406] 14 1
\ No newline at end of file
diff --git a/ellcurves/rank15 b/ellcurves/rank15
new file mode 100644
index 0000000..0274bb3
--- /dev/null
+++ b/ellcurves/rank15
@@ -0,0 +1 @@
+164007785374008600847294301252891222936905925387461785510 a 1 [1,0,0,-209811944511283096494753999485,26653992551590286206010035905960909459942897] 15 1
\ No newline at end of file
diff --git a/ellcurves/rank17 b/ellcurves/rank17
new file mode 100644
index 0000000..2f207d7
--- /dev/null
+++ b/ellcurves/rank17
@@ -0,0 +1 @@
+275002099660497726831357243409914570660350492913205270470 a 1 [1,0,0,-1895782483362476188247825431,42810746555185028468846212199762991367145] 17 1
\ No newline at end of file
diff --git a/ellcurves/rank19 b/ellcurves/rank19
new file mode 100644
index 0000000..5a61e4e
--- /dev/null
+++ b/ellcurves/rank19
@@ -0,0 +1 @@
+137377583765207564914008156149740232282282540648823380362307893110 a 1 [1,-1,1,-2063758701246626370773726978,32838647793306133075103747085833809114881] 19 1
\ No newline at end of file
diff --git a/ellcurves/rank20 b/ellcurves/rank20
new file mode 100644
index 0000000..98ca551
--- /dev/null
+++ b/ellcurves/rank20
@@ -0,0 +1 @@
+73813242020125452593092920037241715783942979322145629022774016712292126930 a 1 [1,0,0,-431092980766333677958362095891166,5156283555366643659035652799871176909391533088196] 20 1
\ No newline at end of file
diff --git a/ellcurves/rank21 b/ellcurves/rank21
new file mode 100644
index 0000000..a7365d7
--- /dev/null
+++ b/ellcurves/rank21
@@ -0,0 +1 @@
+26112076915897777815571388664430310998157918697219343275140810790098571234096793308930 a 1 [1,1,1,-215843772422443922015169952702159835,-19474361277787151947255961435459054151501792241320535] 21 1
\ No newline at end of file
diff --git a/ellcurves/rank22 b/ellcurves/rank22
new file mode 100644
index 0000000..b9fc0ed
--- /dev/null
+++ b/ellcurves/rank22
@@ -0,0 +1 @@
+22720638514787473197194583889675055980109503436060704437972911338086049759883790 a 1 [1,0,1,-940299517776391362903023121165864,10707363070719743033425295515449274534651125011362] 22 1
\ No newline at end of file
diff --git a/ellcurves/rank23 b/ellcurves/rank23
new file mode 100644
index 0000000..4f3c1f6
--- /dev/null
+++ b/ellcurves/rank23
@@ -0,0 +1 @@
+113964706497998622564257410134352232583764612126645513242486361984405434455972952111271430 a 1 [1,0,1,-19252966408674012828065964616418441723,32685500727716376257923347071452044295907443056345614006] 23 1
\ No newline at end of file
diff --git a/ellcurves/rank24 b/ellcurves/rank24
new file mode 100644
index 0000000..7c9d8ca
--- /dev/null
+++ b/ellcurves/rank24
@@ -0,0 +1 @@
+325763846420202806803685538805031963849862314963649942610049440603050996133862755155678267754410 a 1 [1,0,1,-120039822036992245303534619191166796374,504224992484910670010801799168082726759443756222911415116] 24 1
\ No newline at end of file
diff --git a/ellcurves/rank28 b/ellcurves/rank28
new file mode 100644
index 0000000..d2be120
--- /dev/null
+++ b/ellcurves/rank28
@@ -0,0 +1 @@
+3455601108357547341532253864901605231198511505793733138900595189472144724781456635380154149870961231592352897621963802238155192936274322687070 a 1 [1,-1,1,-20067762415575526585033208209338542750930230312178956502,34481611795030556467032985690390720374855944359319180361266008296291939448732243429] 28 1
\ No newline at end of file
diff --git a/src/ellcurves/rank3 b/ellcurves/rank3
similarity index 100%
rename from src/ellcurves/rank3
rename to ellcurves/rank3
diff --git a/ellcurves/rank4 b/ellcurves/rank4
new file mode 100644
index 0000000..f3f628f
--- /dev/null
+++ b/ellcurves/rank4
@@ -0,0 +1,10 @@
+234446 a 1 [1,-1,0,-79,289] 4 1
+545723 a 1 [0,0,1,-7,36] 4 1
+842596 a 1 [0,0,0,-169,841] 4 1
+926584 a 1 [0,0,0,-127,610] 4 1
+1099496 a 1 [0,0,0,-172,820] 4 1
+1109716 a 1 [0,0,0,-64,169] 4 1
+1129211 a 1 [0,0,1,-19,60] 4 1
+1142158 a 1 [1,-1,0,-1,73] 4 1
+1162928 a 1 [0,0,0,-259,2194] 4 1
+1175648 a 1 [0,0,0,-316,2080] 4 1
\ No newline at end of file
diff --git a/ellcurves/rank5 b/ellcurves/rank5
new file mode 100644
index 0000000..5ecd888
--- /dev/null
+++ b/ellcurves/rank5
@@ -0,0 +1,5 @@
+19047851 a 1 [0,0,1,-79,342] 5 1
+20384311 a 1 [1,0,0,-22,219] 5 1
+22966597 a 1 [0,0,1,-247,1476] 5 1
+34672310 a 1 [1,-1,0,-415,3481] 5 1
+37396136 a 1 [0,0,0,-532,4420] 5 1
\ No newline at end of file
diff --git a/ellcurves/rank6 b/ellcurves/rank6
new file mode 100644
index 0000000..6a9d078
--- /dev/null
+++ b/ellcurves/rank6
@@ -0,0 +1,5 @@
+5187563742 a 1 [1,1,0,-2582,48720] 6 1
+5258110041 a 1 [0,0,1,-7077,235516] 6 1
+5739520802 a 1 [1,-1,0,-2326,43456] 6 1
+6601024978 a 1 [1,-1,0,-16249,799549] 6 1
+6663562874 a 1 [1,-1,1,-63147,6081915] 6 1
\ No newline at end of file
diff --git a/ellcurves/rank7 b/ellcurves/rank7
new file mode 100644
index 0000000..be3a056
--- /dev/null
+++ b/ellcurves/rank7
@@ -0,0 +1,5 @@
+382623908456 a 1 [0,0,0,-10012,346900] 7 1
+536670340706 a 1 [1,0,1,-14733,694232] 7 1
+814434447535 a 1 [0,0,1,-36673,2704878] 7 1
+858426129202 a 1 [1,-1,0,-92656,10865908] 7 1
+896913586322 a 1 [1,-1,0,-18664,958204] 7 1
\ No newline at end of file
diff --git a/ellcurves/rank8 b/ellcurves/rank8
new file mode 100644
index 0000000..cc6012f
--- /dev/null
+++ b/ellcurves/rank8
@@ -0,0 +1,6 @@
+249649566346838 a 1 [1,-1,0,-106384,13075804] 8 1
+292246301470558 a 1 [1,-1,0,-222751,40537273] 8 1
+314214346667560 a 1 [0,0,0,-481663,128212738] 8 1
+314658846776578 a 1 [1,-1,0,-71899,5522449] 8 1
+315734078239402 a 1 [1,-1,0,-124294,14418784] 8 1
+457532830151317 a 1 [0,0,1,-23737,960366] 8 1
\ No newline at end of file
diff --git a/ellcurves/rank9 b/ellcurves/rank9
new file mode 100644
index 0000000..c303f2e
--- /dev/null
+++ b/ellcurves/rank9
@@ -0,0 +1,7 @@
+32107342006814614 a 1 [1,-1,0,-135004,97151644] 9 1
+43537345103385386 a 1 [1,-1,0,-613069,98885089] 9 1
+62986816173592807 a 1 [0,0,1,-3835819,2889890730] 9 1
+72070075910145406 a 1 [1,0,1,-1493028,701820182] 9 1
+77211251506212554 a 1 [1,0,1,-1076185,496031340] 9 1
+484154179417645171 a 1 [0,1,1,-3529920,2567473020] 9 1
+9612838979769443646330 a 1 [1,-1,1,-1608154463,25555312501831] 9 1
\ No newline at end of file
diff --git a/spkg-install b/spkg-install
deleted file mode 100755
index 71854f1..0000000
--- a/spkg-install
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/env python
-
-import os
-common_curves = os.path.join(os.getcwd(), 'src', 'common')
-
-def install_cremona():
- from sqlite3 import connect
-
- if 'SAGE_SHARE' not in os.environ:
- raise RuntimeError("SAGE_SHARE undefined, maybe run `sage -sh`?")
-
- cremona_root = os.path.join(os.environ['SAGE_SHARE'], 'cremona')
- if not os.path.exists(cremona_root):
- os.makedirs(cremona_root)
-
- target = os.path.join(cremona_root, 'cremona_mini.db')
-
- if os.path.exists(target):
- os.remove(target)
-
- con = connect(target)
-
- con.execute('CREATE TABLE t_class(rank INTEGER, class TEXT PRIMARY KEY,'
- ' conductor INTEGER)')
- con.execute('CREATE TABLE t_curve(curve TEXT PRIMARY KEY, class TEXT, tors'
- ' INTEGER, eqn TEXT UNIQUE)')
- con.execute('CREATE INDEX i_t_class_conductor ON t_class(conductor)')
- con.execute('CREATE INDEX i_t_curve_class ON t_curve(class)')
-
- class_data = []
- curve_data = []
-
- for line in open(os.path.join(common_curves, 'allcurves.00000-09999')):
- N, iso, num, eqn, r, tors = line.split()
- cls = N + iso
- cur = cls + num
- if num == "1":
- class_data.append((N, cls, r))
- curve_data.append((cur, cls, eqn, tors))
-
- con.executemany('INSERT INTO t_class(conductor,class,rank) VALUES'
- ' (?,?,?)', class_data)
- con.executemany('INSERT INTO t_curve(curve,class,eqn,tors) VALUES'
- ' (?,?,?,?)', curve_data)
-
- con.commit()
-
-def install_ellcurves():
- import shutil, tempfile
-
- if 'SAGE_SHARE' not in os.environ:
- raise RuntimeError("SAGE_SHARE undefined, maybe run `sage -sh`?")
-
- target = os.path.join(os.environ['SAGE_SHARE'], 'ellcurves')
- if os.path.exists(target):
- try:
- shutil.rmtree(target)
- except OSError:
- os.remove(target)
-
- shutil.move(os.path.join('src', 'ellcurves'), target)
- rank = {}
- for line in open(os.path.join(common_curves, 'allcurves.00000-09999')):
- r = line.split()[4]
- if r not in rank:
- rank[r] = open(tempfile.mkstemp()[1], 'w')
- rank[r].write(line)
-
- for r, f in rank.iteritems():
- f.close()
- endpath = os.path.join(target, 'rank' + r)
- if os.path.exists(endpath):
- old = tempfile.mkstemp()[1]
- shutil.move(endpath, old)
- shutil.move(f.name, endpath)
- f = open(endpath, 'a')
- tmp = open(old, 'r')
- f.write(tmp.read())
- tmp.close()
- f.close()
- os.remove(old)
- else:
- shutil.move(f.name, endpath)
- os.chmod(endpath, 0644)
-
-if __name__ == '__main__':
- install_cremona()
- install_ellcurves()
diff --git a/src/ellcurves/rank4 b/src/ellcurves/rank4
deleted file mode 100644
index c8d238b..0000000
--- a/src/ellcurves/rank4
+++ /dev/null
@@ -1 +0,0 @@
-234446 a 1 [1,-1,0,-79,289] 4 1
\ No newline at end of file
diff --git a/src/ellcurves/rank5 b/src/ellcurves/rank5
deleted file mode 100644
index 25abe03..0000000
--- a/src/ellcurves/rank5
+++ /dev/null
@@ -1 +0,0 @@
-19047851 a 1 [0,0,1,-79,342] 5 1
\ No newline at end of file
diff --git a/src/ellcurves/rank6 b/src/ellcurves/rank6
deleted file mode 100644
index 560c2df..0000000
--- a/src/ellcurves/rank6
+++ /dev/null
@@ -1 +0,0 @@
-5187563742 a 1 [1,1,0,-2582,48720] 6 1
\ No newline at end of file
diff --git a/src/ellcurves/rank7 b/src/ellcurves/rank7
deleted file mode 100644
index 3be54d5..0000000
--- a/src/ellcurves/rank7
+++ /dev/null
@@ -1 +0,0 @@
-382623908456 a 1 [0,0,0,-10012,346900] 7 1
\ No newline at end of file
diff --git a/src/ellcurves/rank8 b/src/ellcurves/rank8
deleted file mode 100644
index d76ab97..0000000
--- a/src/ellcurves/rank8
+++ /dev/null
@@ -1 +0,0 @@
-457532830151317 a 1 [0,0,1,-23737,960366] 8 1
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath-database-elliptic-curves.git
More information about the debian-science-commits
mailing list