This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ticket/16908-maxima-5.34.1
- Loading branch information
Showing
250 changed files
with
11,660 additions
and
5,849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Sage version 6.4.beta2, released 2014-08-28 | ||
Sage version 6.4.beta3, released 2014-09-10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
= Buckygen = | ||
|
||
== Description == | ||
Buckygen is a program for the efficient generation of all nonisomorphic fullerenes. These are triangulations where all vertices have degree 5 or 6. Or if the dual representation is used: cubic plane graphs where all faces are pentagons or hexagons. | ||
|
||
== License == | ||
Buckygen is licensed under the GNU General Public License v3 ( June 2007 ) | ||
|
||
== SPKG Maintainers == | ||
Nico Van Cleemput (nico.vancleemput@gmail.com) | ||
|
||
== Upstream Contact == | ||
Buckygen was mainly written by Jan Goedgebeur, jan.goedgebeur[at]ugent.be. | ||
http://caagt.ugent.be/buckygen/ | ||
|
||
== Dependencies == | ||
* None | ||
|
||
== Changelog == | ||
|
||
=== buckygen-1.0 (Nico Van Cleemput, 9th September 2014) === | ||
* #16945: Update for the sage-git directory layout. | ||
|
||
=== buckygen-1.0 (Nico Van Cleemput, 3rd September 2013) === | ||
* Fixed error in license info. | ||
|
||
=== buckygen-1.0 (Nico Van Cleemput, 25th May 2013) === | ||
* First release put into Sage. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tarball=buckygen-VERSION.tar.bz2 | ||
sha1=db4fe52211e25b8964308f8bea19db32242c1f1d | ||
md5=d33ea8f76b95a69842a291f88ed501fb | ||
cksum=1430056194 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "$SAGE_LOCAL" ]; then | ||
echo >&2 "SAGE_LOCAL undefined ... exiting" | ||
echo >&2 "Maybe run 'sage --sh'?" | ||
exit 1 | ||
fi | ||
|
||
cd src | ||
|
||
$MAKE | ||
if [ $? -ne 0 ]; then | ||
echo >&2 "Error building buckygen." | ||
exit 1 | ||
fi | ||
|
||
echo >&2 "Copying buckygen..." | ||
cp buckygen $SAGE_LOCAL/bin/buckygen | ||
if [ $? -ne 0 ]; then | ||
echo >&2 "Error installing buckygen." | ||
exit 1 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=9f52b9a8917273a8b29a40c8e517ebb099cc0537 | ||
md5=adfa272430f561682954687258364d5d | ||
cksum=3677976078 | ||
sha1=deffea92fdb644888b8349efdc0a8c5da5b2690e | ||
md5=d58250c470893500de6fb86f10ea61b1 | ||
cksum=3339214726 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
46 | ||
47 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=Cython-VERSION.tar.gz | ||
sha1=e0f2c2094722bada54f24c33f5c792411778ba4f | ||
md5=52431696c64e618036537c4d9aa79d99 | ||
cksum=3488695300 | ||
tarball=cython-VERSION.tar.gz | ||
sha1=f5784539870715e33b51374e9c4451ff6ff21c7f | ||
md5=6c9c4d19ba485fe8cd88e23b57ac7886 | ||
cksum=2221677113 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.20.1 | ||
0.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=database_cremona_ellcurve-VERSION.tar.bz2 | ||
sha1=ab96f509574419c03d9f1c8820c4d96042a17a04 | ||
md5=56956829063534142f9f12bc1274c01c | ||
cksum=2400753722 | ||
sha1=01360c8292b9d2fb60cd5e4cb84c84d368c4eda4 | ||
md5=627731f9fd5b0cc3e8a25dff329d2cbf | ||
cksum=2933014536 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20140512 | ||
20140829 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=ipython-VERSION.tar.gz | ||
sha1=e80c30388cbe576038a78fc8ebb159cddae84fb4 | ||
md5=785c7b6364c6a0dd34aa4ea970cf83b9 | ||
cksum=2529846191 | ||
sha1=ff8e3a2f756d62405f200a2c73aedfafd84076ac | ||
md5=b91d3724f655a8e16d022772f696cfd5 | ||
cksum=2917965028 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.1.0 | ||
2.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From cb1986230f78a936a905378f1aed92a4c67dba6d Mon Sep 17 00:00:00 2001 | ||
From: Thomas Kluyver <takowl@gmail.com> | ||
Date: Fri, 16 May 2014 15:57:03 -0700 | ||
Subject: [PATCH 2/2] Close database when HistorySavingThread stops | ||
|
||
--- | ||
IPython/core/history.py | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/IPython/core/history.py b/IPython/core/history.py | ||
index da10813..c9b8435 100644 | ||
--- a/IPython/core/history.py | ||
+++ b/IPython/core/history.py | ||
@@ -775,6 +775,7 @@ def run(self): | ||
while True: | ||
self.history_manager.save_flag.wait() | ||
if self.stop_now: | ||
+ self.db.close() | ||
return | ||
self.history_manager.save_flag.clear() | ||
self.history_manager.writeout_cache(self.db) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.1.p0 | ||
2.7.1.p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
commit 7630f584371c3db43c5fd6f57900c70a2c832b8e | ||
Author: Karim Belabas <Karim.Belabas@math.u-bordeaux1.fr> | ||
Date: Tue Jun 17 13:24:37 2014 +0200 | ||
|
||
32- nffactor() could overflow the stack when default accuracy too low: e.g. | ||
nffactor(y^2-22, x^2+926246528884912528275985458927067632*y-4344481316563541186659879867597013188) | ||
|
||
due to logmax_modulus called with (approximate) polynomial T s.t. T(0) = 0 | ||
|
||
diff --git a/src/basemath/rootpol.c b/src/basemath/rootpol.c | ||
index d63f8b3..f1ced73 100644 | ||
--- a/src/basemath/rootpol.c | ||
+++ b/src/basemath/rootpol.c | ||
@@ -652,7 +652,8 @@ lower_bound(GEN p, long *k, double eps) | ||
avma = ltop; return R; | ||
} | ||
|
||
-/* log of modulus of the largest root of p with relative error tau */ | ||
+/* log of modulus of the largest root of p with relative error tau. Assume | ||
+ * P(0) != 0 and P non constant */ | ||
static double | ||
logmax_modulus(GEN p, double tau) | ||
{ | ||
@@ -696,10 +697,12 @@ logmax_modulus(GEN p, double tau) | ||
r = itor(r, DEFAULTPREC); shiftr_inplace(r, -M); | ||
avma = ltop; return -rtodbl(r) * LOG2; /* -log(2) sum e_i 2^-i */ | ||
} | ||
+/* assume P non constant */ | ||
GEN | ||
logmax_modulus_bound(GEN P) | ||
{ | ||
- return dblexp(logmax_modulus(P, 0.01) + 0.01); | ||
+ (void)RgX_valrem_inexact(P,&P); | ||
+ return lg(P)==3? gen_0: dblexp(logmax_modulus(P, 0.01) + 0.01); | ||
} | ||
|
||
/* log of modulus of the smallest root of p, with relative error tau */ | ||
diff --git a/src/test/32/nffactor b/src/test/32/nffactor | ||
index 824ca6b..accbc30 100644 | ||
--- a/src/test/32/nffactor | ||
+++ b/src/test/32/nffactor | ||
@@ -729,4 +729,6 @@ x^6 + 10/7*x^5 - 867/49*x^4 - 76/245*x^3 + 3148/35*x^2 - 25944/245*x + 48771 | ||
10 | ||
10 | ||
[0] | ||
-Total time spent: 1385595334334 | ||
+[x + (-314226370217524044*y + 1473852319020386314), x + (314226370217524044* | ||
+y - 1473852319020386314)]~ | ||
+Total time spent: 8061 | ||
diff --git a/src/test/in/nffactor b/src/test/in/nffactor | ||
index 0992107..a3579a0 100644 | ||
--- a/src/test/in/nffactor | ||
+++ b/src/test/in/nffactor | ||
@@ -104,3 +104,5 @@ test(polcyclo(503),3) | ||
test(polcyclo(211),18446744073709551667) | ||
|
||
nfroots(a^2+1,x^2) | ||
+ | ||
+do(y^2-22,x^2+926246528884912528275985458927067632*y-4344481316563541186659879867597013188) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sage version information for shell scripts | ||
# This file is auto-generated by the sage-update-version script, do not edit! | ||
SAGE_VERSION='6.4.beta2' | ||
SAGE_RELEASE_DATE='2014-08-28' | ||
SAGE_VERSION='6.4.beta3' | ||
SAGE_RELEASE_DATE='2014-09-10' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Include the relevant PARI includes in a safe way */ | ||
#include <pari/paricfg.h> | ||
#include <pari/pari.h> | ||
|
||
#undef coeff /* Conflicts with NTL */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.