[sage-support] Re: Loading an object containing a matrix that was saved in Python 2 sage

2020-08-19 Thread Paul Leopardi
I have about 6 TB of saved Sage objects that I would like to recover, so am interested in testing the fix. On Thursday, 20 August 2020 at 14:10:34 UTC+10 Paul Leopardi wrote: > Done. https://trac.sagemath.org/ticket/30402 > > On Thursday, 20 August 2020 at 02:35:15 UTC+10 Nils Br

[sage-support] Re: Loading an object containing a matrix that was saved in Python 2 sage

2020-08-19 Thread Paul Leopardi
Done. https://trac.sagemath.org/ticket/30402 On Thursday, 20 August 2020 at 02:35:15 UTC+10 Nils Bruin wrote: > On Wednesday, August 19, 2020 at 5:24:48 AM UTC-7, Paul Leopardi wrote: >> >> See also >> https://groups.google.com/g/sage-support/c/3WKui-LojKs/m/DgEPB

[sage-support] Re: Loading an object containing a matrix that was saved in Python 2 sage

2020-08-19 Thread Paul Leopardi
See also https://groups.google.com/g/sage-support/c/3WKui-LojKs/m/DgEPBGF3AQAJ and https://trac.sagemath.org/ticket/28444 On Wednesday, 19 August 2020 at 22:17:40 UTC+10 Paul Leopardi wrote: > Hello, > I am currently trying to convert my Boolean-Cayley-graphs project from > Python 2

[sage-support] Loading an object containing a matrix that was saved in Python 2 sage

2020-08-19 Thread Paul Leopardi
Hello, I am currently trying to convert my Boolean-Cayley-graphs project from Python 2 to Python 3 Sage. https://github.com/penguian/Boolean-Cayley-graphs/tree/23-port-to-python-3 I have succeeded in converting the code, but am having a tough time trying to load objects that were saved by my pr

[sage-support] Re: Bug in BooleanFunction: truth_table(format="hex") is wrong

2017-11-26 Thread Paul Leopardi
I have now reported this suspected bug as https://trac.sagemath.org/ticket/24282 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@google

[sage-support] Bug in BooleanFunction: truth_table(format="hex") is wrong

2017-11-23 Thread Paul Leopardi
Hi all, Sometimes, especially with functions of 8 variables, the BooleanFunction.truth_table() method with format='hex" gives wrong values that are the wrong length. I don't yet have a login to Trac. Should I obtain one and report the bug there? All the best,

[sage-support] installing cantera with sage

2017-10-13 Thread Paul DesJardin
lp or guidance would be much appreciated. Thank you, Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com.

[sage-support] Re: Calling java classes from Sage using Py4J

2017-08-02 Thread Paul DesJardin
That's it! You're recommendation worked like a charm. I certainly didn't appreciate the differences between Sage type and python number types. Thank you John - very much appreciated. Paul sage: *from* *py4j.java_gateway* *import* JavaGateway sage: gateway = JavaGateway(

[sage-support] Calling java classes from Sage using Py4J

2017-08-02 Thread Paul DesJardin
Hi, I'm new to using Sage and trying to interface to java classes using py4j. I've been successful using py4j using an anaconda installed version of python (on a mac) but I'm running into Attribute errors using Sage. The one below is 'sage.rings.integer.Integer' object has no attribute '_g

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Paul Leopardi
On Wednesday, 31 May 2017 19:39:32 UTC+10, Jeroen Demeyer wrote: > > I think you need to import sage.all first, before importing anything > else from sage. > Thanks, I think I figured out what you mean. I updated conf.py to contain the following: ... # If extensions (or modules to document wi

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Paul Leopardi
On Wednesday, 31 May 2017 19:39:32 UTC+10, Jeroen Demeyer wrote: > > I think you need to import sage.all first, before importing anything > else from sage. > Thanks, in which file do you mean, every Python file that uses Sage, or some specific file? -- You received this message because yo

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-30 Thread Paul Leopardi
On Tuesday, 30 May 2017 23:35:37 UTC+10, Jeroen Demeyer wrote: > > Sphinx needs to be able to import your modules to document them. There > is nothing Sphinx-specific about this, it's just usual Python imports. I > am assuming that your package works within Sage but not outside of Sage. > That

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-30 Thread Paul Leopardi
ame prefix for templates and static dir [_]: The project name will occur in several places in the built documentation. > Project name: Boolean-Cayley-graphs > Author name(s): Paul Leopardi Sphinx has the notion of a "version" and a "release" for the software. Each version

[sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-28 Thread Paul Leopardi
erate documentation? All the best, Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group

[sage-support] Re: threejs, fedora and ubuntu

2017-02-13 Thread Paul Masson
This issue was fixed in 7.6.beta0. You can fix it on your affected machines without reinstalling by replacing the Three.js template file with this one: https://raw.githubusercontent.com/sagemath/sage/7.6.beta0/src/ext/threejs/threejs_template.html The template is located under your Sage root dir

[sage-support] Re: Linking error in FLINT when building Sage 7.4 on Ubuntu 16.10

2017-01-02 Thread Paul Leopardi
On Friday, 28 October 2016 02:49:16 UTC+11, Dima Pasechnik wrote: > > > In the general case, either -no-pie needs to be passed or cc needs to be > invoked with -r rather than -Wl,-r. > > The corresponding trac ticket is https://trac.sagemath.org/ticket/21782 ? And the branch to use right now when

[sage-support] Re: Sage fails to install on OSX 10.11.6

2016-12-23 Thread Paul Masson
Looks like you have a more recent version of Python installed and that's conflicting with Sage. If you have Anaconda installed, take a look at this answer: https://ask.sagemath.org/question/34416/importerror-no-module-named-sage/ On Saturday, December 17, 2016 at 10:22:29 AM UTC-8, Peter Gacs

[sage-support] Re: How should I determine if two strongly regular graphs are isomorphic?

2016-12-13 Thread Paul Leopardi
Hi again Dima, For the record, see below. On Wednesday, 24 August 2016 00:46:06 UTC+10, Dima Pasechnik wrote: > > Hi, > > I think the best way to fix your issue is to fix > https://trac.sagemath.org/ticket/21313 > This will allow is_isomorphic to use bliss or nauty. > (In fact, IIRC checking for

[sage-support] Re: export 3D three.js graphics?

2016-12-02 Thread Paul Masson
As of Sage 7.5.beta5 there is the backend option " viewer='threejs' " that will do this. A complete HTML page with all required data is generated, saved to a temporary file and displayed in a browser. That same temporary file can be copied to any location desired for embedding in a web page with

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-11-03 Thread Paul Leopardi
On Thursday, 3 November 2016 04:58:11 UTC+11, Dima Pasechnik wrote: > > On Wednesday, November 2, 2016 at 11:57:20 AM UTC, Paul Leopardi wrote: >> >> On Wednesday, 2 November 2016 20:08:20 UTC+11, Dima Pasechnik wrote: >>> >>> I must say I don't know w

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-11-02 Thread Paul Leopardi
On Wednesday, 2 November 2016 20:08:20 UTC+11, Dima Pasechnik wrote: > > I must say I don't know why these libgap.set_global and get_global are > needed. > >> >> I used them to get my large matrices into libgap as globals. Trying to pass them through a text based interface does not work. Foll

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-11-01 Thread Paul Leopardi
n ] )' >sage: gap.eval('AutGroupGraph(GG);') >'Group([ (3,4)(6,7)(8,9), (2,3)(5,6)(9,10), (2,5)(3,6)(4,7), >(1,2)(6,8)(7,9) ])' >sage: > >(whereas if I use libgap.* I end up with the same error as you) > >This is now >https://trac.sagemath.o

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-11-01 Thread Paul Leopardi
On Tuesday, 25 October 2016 06:02:06 UTC+11, Dima Pasechnik wrote: > > I would do a check using GAP's Grape package, which allows for checking > isomorphisms > (it uses nauty as the backend) > While there is no ready function to call Grape from Sage, this should be > easy to write using e.g. >

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-25 Thread Paul Leopardi
On Tuesday, 25 October 2016 06:02:06 UTC+11, Dima Pasechnik wrote: > > I would do a check using GAP's Grape package, which allows for checking > isomorphisms > (it uses nauty as the backend) > While there is no ready function to call Grape from Sage, this should be > easy to write using e.g. > li

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-24 Thread Paul Leopardi
On Tuesday, 25 October 2016 06:02:06 UTC+11, Dima Pasechnik wrote: > > I would do a check using GAP's Grape package, which allows for checking > isomorphisms > (it uses nauty as the backend) > While there is no ready function to call Grape from Sage, this should be > easy to write using e.g. > li

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-24 Thread Paul Leopardi
for the first 8 of 10 polynomials for dim=8. All the best, Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegrou

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-24 Thread Paul Leopardi
On Tuesday, 25 October 2016 05:55:42 UTC+11, Dima Pasechnik wrote: > > I am trying to run your script, but am getting > > IOError: did not find file > 'boolean_dimension_cayley_graph_classifications.sage' to load or attach > > and indeed, there is no file so named in your github repo. > > > It i

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-24 Thread Paul Leopardi
le.tec.hkr.se/~chen/research/2-weight-codes/index.htm >are not always correct. Thanks, Dima. The strongly regular graph parameters are always the same. The graphs themselves are in some cases not isomorphic. In my next message I will post the relevant output from my code. -- Paul Leopardi https

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-24 Thread Paul Leopardi
On Monday, 24 October 2016 01:45:10 UTC+11, David Joyner wrote: > > > I haven't looked at your code but are you comparing the SRG associated > to the Boolean bent function and the graph associated to the incidence > matrix of that graph? > > I don't understand your precise meaning here, so I wil

Re: [sage-support] How can I double check a non-isomorphism between graphs?

2016-10-24 Thread Paul Leopardi
On Monday, 24 October 2016 01:45:10 UTC+11, David Joyner wrote: > > > I haven't looked at your code but are you comparing the SRG associated > to the Boolean bent function and the graph associated to the incidence > matrix of that graph? > > I don't understand your precise meaning here, so I w

[sage-support] How can I double check a non-isomorphism between graphs?

2016-10-23 Thread Paul Leopardi
Since asking the question "How should I determine if two strongly regular graphs are isomorphic?" I have made great progress in classifying Bent functions by their Cayley graphs. That is, up until now. I have found two graphs which I was (emprically) expecting to be isomorphic have different can

[sage-support] Re: possible regression in piecewise plotting?

2016-09-30 Thread Paul Masson
The custom plot() method is not present in the current version of piecewise(). I tried copying it in from piecewise_old.py and rebuilding, but it still gets ignored in favor of the standard plot() (hence the behavior you describe). I'm not as enthusiastic as you about the current piecewise(). W

[sage-support] Re: install sage on Windows 10 using new ubuntu bash shell?

2016-09-30 Thread Paul Masson
You can install and run the precompiled binaries with the Ubuntu bash, but you can't yet build Sage from the source code. See the answer to this question for more information: https://ask.sagemath.org/question/34350/installing-on-windows-10/ On Thursday, September 29, 2016 at 1:00:19 PM UTC-7,

[sage-support] Re: How can Sage and Python communicate via global variables?

2016-09-20 Thread Paul Leopardi
Thanks, that all works quite well. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email

[sage-support] How can Sage and Python communicate via global variables?

2016-09-19 Thread Paul Leopardi
gnize as a global variable? Thanks, Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To po

[sage-support] In a SageMathCloud worksheet, how do I save an instance of a user defined class?

2016-09-17 Thread Paul Leopardi
resolution order: | myint | sage.structure.sage_object.SageObject | object | Why are the module and the method resolution order different between Sage and SageMathCloud worksheet? In a SageMathCloud worksheet, how do I save an instance of a user defined class? All the best, P

[sage-support] How dosave an instance of a user defined class in a SageMathCloud worksheet?

2016-09-17 Thread Paul Leopardi
resolution order: | myint | sage.structure.sage_object.SageObject | object | Why are the module and the method resolution order different between Sage and SageMathCloud worksheet? In a SageMathCloud worksheet, how do I save an instance of a user defined class? All the best, P

[sage-support] Re: error using simple solve example

2016-09-07 Thread Paul Masson
This error is now https://trac.sagemath.org/ticket/21443. On Monday, September 5, 2016 at 12:05:15 PM UTC-7, Paul Masson wrote: > > Although you shouldn't have to, please try installing the OS X Command > Line Tools for Xcode as described here: > > > http://doc.sagemath.o

[sage-support] Re: error using simple solve example

2016-09-05 Thread Paul Masson
e code. On Wednesday, August 24, 2016 at 3:35:03 PM UTC-7, Paul Johnson wrote: > > Thanks. I tried installing Maxima from sourceforge. This didn't help, > although I don't know if would be expected to. > > I'd be interested to know if anyone else is able to run Sage on O

[sage-support] Re: How should I determine if two strongly regular graphs are isomorphic?

2016-08-30 Thread Paul Leopardi
On Wednesday, 24 August 2016 02:00:03 UTC+10, Dima Pasechnik wrote: > > Also, do I get it right that you have a new "generic" construction of > strongly regular graphs? > As you know, we are collecting them - would you be interested in adding it > into sage/graphs/generators/ ? > Sorry for the

[sage-support] Re: error using simple solve example

2016-08-24 Thread Paul Johnson
sion? E.g. this page says "The binaries for SageMath 6.10.beta7 will work": http://ask.sagemath.org/question/31422/what-is-the-status-of-sage-on-os-x-1011-el-capitan/ Paul On Wednesday, August 24, 2016 at 9:37:49 PM UTC+1, Robert Dodier wrote: > > On 2016-08-24, Paul

[sage-support] Re: error using simple solve example

2016-08-24 Thread Paul Johnson
I tried this - didn't work, but thanks for the suggestion. On Wednesday, August 24, 2016 at 4:42:21 PM UTC+1, HG wrote: > > I forgot : try x=var("x") > > Le mercredi 24 août 2016 11:47:40 UTC+2, Paul Johnson a écrit : >> >> Hi, >> >> I'

[sage-support] error using simple solve example

2016-08-24 Thread Paul Johnson
Hi, I've just started using Sage (sage-7.3-OSX_10.11.6-x86_64.app.dmg) on Mac OS X 10.11.6. The first solve example... x = var('x') solve([x^2 - 3 == 0], x) ...gives the error below. Any advice greatly appreciated. Best wishes, Paul Traceback (most recent call last): File

[sage-support] Re: How should I determine if two strongly regular graphs are isomorphic?

2016-08-23 Thread Paul Leopardi
On Wednesday, 24 August 2016 02:00:03 UTC+10, Dima Pasechnik wrote: > > In this case your graphs give rise to Hadamard matrices (take Seidel > adjacency matrix), so if you get nonisomorphic Hadamard matrices then you > get nonisomorphic graphs, but not the other way around, generally speaking.

Re: [sage-support] How should I determine if two strongly regular graphs are isomorphic?

2016-08-23 Thread Paul Leopardi
On Wednesday, 24 August 2016 00:14:10 UTC+10, vdelecroix wrote: > > Do you have the package bliss or nauty installed? > sage: is_package_installed('bliss') True sage: is_package_installed('nauty') True -- You received this message because you are subscribed to the Google Groups "sage-suppo

[sage-support] How should I determine if two strongly regular graphs are isomorphic?

2016-08-23 Thread Paul Leopardi
a timeout of (e.g.) 5 seconds, so that my search first tries to use g.is_isomorphic(h), and if this times out, it then compares the automorphism group orders, and only if they are equal, does it then compute the canonical label. What are other people doing? All the best, Paul -- You received th

Re: [sage-support] Meta question: How do I best specify graphs in sage-support?

2016-08-23 Thread Paul Leopardi
On Tuesday, 23 August 2016 14:45:42 UTC+10, jori.ma...@uta.fi wrote: > > dig6_string() is only available do directed graphs, but a Graph made from > DiGraph is just a graph with directions forgotten. So you can say > > DiGraph(g).dig6_string() > > Is there a particular reason why you prefer DiGr

[sage-support] Meta question: How do I best specify graphs in sage-support?

2016-08-22 Thread Paul Leopardi
le time. My main question for the moment is how do I specify graphs here in sage-support so that others can reproduce the problem? All the best, Paul https://github.com/penguian/Boolean-Cayley-graphs/blob/master/README.md -- You received this message because you are subscribed to the Google Gr

[sage-support] Re: Problem with git and trac server

2016-08-21 Thread 'Paul Mercat' via sage-support
In fact nothing is missing in your list of commit. I'm happy to see that. What is missing is what appear in the ticket #21072 ( https://trac.sagemath.org/ticket/21072 ) The two last commits are here but not the two previous ones. Thanks ! Paul Le dimanche 21 août 2016 22:44:10 UTC+2, V

[sage-support] Re: Problem with git and trac server

2016-08-21 Thread 'Paul Mercat' via sage-support
Thank you for your answer. Unfortunably, your link doesn't work. Of course I've retried to push my changes. It says "Everything up-to-date" but the two commits that I've done before are not in the trac server. Paul Le dimanche 21 août 2016 16:34:21 UTC+2, leif a écri

[sage-support] Problem with git and trac server

2016-08-21 Thread 'Paul Mercat' via sage-support
n fact the two commits that I tried to push when the trac server was not responsive doesn't appear to be on the trac server. How can I correct this problem ? Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

[sage-support] Cannot load a BooleanFunction of 8 variables (?)

2016-07-22 Thread Paul Leopardi
of 2',), , ('22d222d2dd2d22d222d222d2dd2d22d2dd2ddd2d22d2dd2d22d222d2dd2d22d222d222d2dd2d22d2dd2ddd2d22d2dd2d22d222d2dd2d22d2',)) See the attachments for a transcript and the saved sobj files for details. It looks like the save didn't work correctly. Should I report this as a bug? All the best, Paul

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-22 Thread Paul Leopardi
On Thursday, 21 July 2016 21:38:38 UTC+10, Paul Leopardi wrote: > > On Thursday, 21 July 2016 08:57:55 UTC+10, Paul Leopardi wrote: >> >> >> The build now gets past the point where it failed previously. >> >> > The build now fails in dochtml with a prob

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-22 Thread Paul Leopardi
Hi John, Yes that branch fixes the problem. On 22 July 2016 1:31:53 AM AEST, John H Palmieri wrote: > > >On Thursday, July 21, 2016 at 4:38:38 AM UTC-7, Paul Leopardi wrote: >> >> On Thursday, 21 July 2016 08:57:55 UTC+10, Paul Leopardi wrote: >>> >>> >

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-21 Thread Paul Leopardi
On Thursday, 21 July 2016 22:50:10 UTC+10, Dima Pasechnik wrote: > > On Thursday, July 21, 2016 at 1:43:22 PM UTC+1, Paul Leopardi wrote: >> >> ERROR: The Sage installation tree has moved >> >> from /home/leopardi/sync/src-downloaded/sage/sage-7.2 >>

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-21 Thread Paul Leopardi
On Thursday, 21 July 2016 21:38:38 UTC+10, Paul Leopardi wrote: > > Before I do so, I will try an experiment: apply the patch to the existing > sage-7.2 directory, and run make again. > > The experiment apparently succeeded. The make ran to a successful conclusion. I could n

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-21 Thread Paul Leopardi
On Thursday, 21 July 2016 08:57:55 UTC+10, Paul Leopardi wrote: > > > The build now gets past the point where it failed previously. > > The build now fails in dochtml with a problem that looks like this WONTFIX bug: https://trac.sagemath.org/ticket/18891 and also looks like

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-20 Thread Paul Leopardi
On Thursday, 21 July 2016 08:21:14 UTC+10, Paul Leopardi wrote: > > > > On Thursday, 21 July 2016 08:06:37 UTC+10, Volker Braun wrote: >> >> Well do you have PYTHON set in your environment? I'm pretty sure that >> there are a number of python-related e

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-20 Thread Paul Leopardi
On Thursday, 21 July 2016 08:06:37 UTC+10, Volker Braun wrote: > > Well do you have PYTHON set in your environment? I'm pretty sure that > there are a number of python-related environment settings that will cause > problems >> >> >> I did have but the value of PYTHON in my environment was

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-20 Thread Paul Leopardi
Attached config.log for brial-0.8.4.3 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send em

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-20 Thread Paul Leopardi
On Wednesday, 20 July 2016 22:42:57 UTC+10, Paul Leopardi wrote: > I checked python2-2.7.10.p1.log and discovered a problem: I had DESTDIR > set to "/home/leopardi/usr/local". As a result, there were lines like: > > (cd > /home/leopardi/usr/local/home/leopardi/sync

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-20 Thread Paul Leopardi
On Wednesday, 20 July 2016 19:57:56 UTC+10, Dima Pasechnik wrote: > > I guess having a systemwide python2 might be a way out, as well... > > No, I have a system-wide python2. That was not the issue, as far as I can tell. -- You received this message because you are subscribed to the Google G

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-20 Thread Paul Leopardi
On Wednesday, 20 July 2016 09:12:24 UTC+10, Volker Braun wrote: > > So is > /home/leopardi/usr/local/home/leopardi/sync/src-downloaded/sage/sage-7.2/local/bin/python > > executable? > This is what I have at the point where the build fails: leopardi@catawba:~/sync/src-downloaded/sage/sage-7.2

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-19 Thread Paul Leopardi
>From config.log I noticed that PATH: /home/leopardi/sync/src-downloaded/sage/sage-PPA/sagemath/local/bin PATH: /home/leopardi/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin so just to be

Re: [sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-19 Thread Paul Leopardi
On Wednesday, 20 July 2016 02:09:20 UTC+10, John Cremona wrote: > > Try running ./configure before make. > I have now done the following and have attached config.log. I will next run make and will report the results. Why do the instructions in http://doc.sagemath.org/html/en/installation/sour

[sage-support] How do I build Sage 7.2 on ubuntu 16.04? Build fails in atlas-3.10.2.p2

2016-07-19 Thread Paul Leopardi
Hi all, My build of Sage 7.2 on Ubuntu 16.04 failed in atlas-3.10.2, with an error that I don't understand and don't know how to fix. What should I be doing to obtain a successful build of Sage 7.2 from source? All the best, Paul DETAILS: I downloaded sage-7.2.tar.gz to my home

[sage-support] Re: axes_color

2016-06-14 Thread Paul Masson
Take out the equals sign: p.axes_color((1,0,0)) On Tuesday, June 14, 2016 at 11:31:28 AM UTC-7, HG wrote: > > Axes color doesn't change, any help ? > thanks > HG > > > var('x');f(x)=sin(10*x)/(1+x^2) > > p=plot(f,(-3,3),color="green",plot_points=400, > figsize=(4,3),frame=True,gridlines=True);

[sage-support] Install Sage failed both on 64 bit as on 32 bit Linux Mint

2016-01-30 Thread Paul van Gorsel
te of time. Can you advise me which distro to choose, or even better, what causes these problems? With regards, Paul van Gorsel (The Netherlands) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop r

Re: [sage-support] Run all cells on a large worksheet?

2015-12-09 Thread Paul Leopardi
I also could not reproduce the problem with the worksheet you gave me. I have reproduced it with the following worksheet https://cloud.sagemath.com/projects/80f4c9e7-8a37-4f59-82e7-aa179ec0b652/files/public/new-order.sagews which leads me to believe that it is caused by a 'corrupted' worksheet. My

Re: [sage-support] Run all cells on a large worksheet?

2015-12-08 Thread Paul Leopardi
On Wednesday, 9 December 2015 12:21:07 UTC+11, William wrote: > > On Tue, Dec 8, 2015 at 2:41 PM, William Stein > wrote: > > On Tue, Dec 8, 2015 at 4:05 AM, Paul Leopardi > wrote: > >> I have created a large worksheet at > >> > https://cloud.sagema

[sage-support] Run all cells on a large worksheet?

2015-12-08 Thread Paul Leopardi
I have created a large worksheet at https://cloud.sagemath.com/projects/3c2a9143-d685-410f-995c-28f44056999f/files/bent-functions-duals-Cayley-graphs.sagews with a public copy at https://cloud.sagemath.com/projects/80f4c9e7-8a37-4f59-82e7-aa179ec0b652/files/public/bent-functions-duals-Cayley-graphs

[sage-support] Repeat of report of incorrect sign for walsh_hadamard_transform().

2015-11-17 Thread Paul Leopardi
ug, rather than just a difference in convention. All the best, Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.

[sage-support] Re: error in Sage

2015-11-17 Thread Paul Leopardi
://www.inderscienceonline.com/doi/abs/10.1504/IJICoT.2010.032864 but not when when the current implementation is used. Clearly the current sign is a bug, rather than just a difference in convention. All the best, Paul On Tuesday, 30 December 2014 18:18:47 UTC+11, William wrote

[sage-support] Re: Sage and python subprocess

2015-09-19 Thread Paul Royik
UPDATE: I've managed to get the error: Setting permissions of DOT_SAGE directory so only you can read and write it. os.chmod(DOT_SAGE, _desired_mode)\nOSError: [Errno 1] Operation not permitted: \'/var/www/.sage/ How can I fix it? -- You received this message because you are subscribed to th

[sage-support] Sage and python subprocess

2015-09-19 Thread Paul Royik
Just installed sage-6.8 >From python program I run the following command: res = check_output(["/opt/mathenv/sage-6.8/sage","/opt/mathenv/mathsite/mathsite/scripts/eq_solver.sage","x-5", "x",'-oo', '1', 'oo', '1', '14']) But this piece of code gives me the following error: CalledProc

Re: [sage-support] How can I approximate periods of modular symbols on weight two modular forms?

2015-07-30 Thread Paul Apisa
Thank you so much for your help! On Thursday, July 30, 2015 at 11:35:26 AM UTC-5, William wrote: > > On Thu, Jul 30, 2015 at 9:31 AM, Paul Apisa > wrote: > > A modular symbol corresponds to an element of homology on a modular > curve > > (relative to the cusps) and a

[sage-support] How can I approximate periods of modular symbols on weight two modular forms?

2015-07-30 Thread Paul Apisa
A modular symbol corresponds to an element of homology on a modular curve (relative to the cusps) and a weight two modular form corresponds to a holomorphic one-form. Given a modular symbol and a weight two modular form, how can I approximate the integral of the modular form over the relative

[sage-support] Multiplication of coxeter group elements in coxeter3

2015-06-25 Thread Paul Ziegler
I think I have encountered a bug with the multiplication of coxeter group elements in the optional coxeter3 package. The following should return True but returns False: from sage.libs.coxeter3.coxeter import CoxGroup as CoxGroup W=CoxGroup(['A',2]) W([2,1])*W([2])==W([2,1,2]) It seems that elem

[sage-support] Sage doesn't solve

2015-06-01 Thread Paul Royik
Why solve(-(21/20)**(12*x) + 120,x,explicit_solutions=True) gives me empty set? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googleg

Re: [sage-support] find_root for systems

2015-05-08 Thread Paul Royik
I know the Newton method. My question: is there built-in support in sage and how in general find all roots? You've got approximate solution, but there is another one. On Thursday, May 7, 2015 at 12:59:22 PM UTC+3, vdelecroix wrote: > > On 06/05/15 14:55, Paul Royik wrote: >

Re: [sage-support] find_root for systems

2015-05-06 Thread Paul Royik
For example, x^5+y^5=7 x*sin(y)=1 On Wednesday, May 6, 2015 at 10:08:54 AM UTC+3, jori.ma...@uta.fi wrote: > > On Tue, 5 May 2015, Paul Royik wrote: > > > How can this be applied to systems? > > What kind of systems? Let us define f(x,y): > > f(\sqrt{2}, \sqrt[3}) =

Re: [sage-support] find_root for systems

2015-05-05 Thread Paul Royik
How can this be applied to systems? On Wednesday, May 6, 2015 at 1:28:55 AM UTC+3, Dima Pasechnik wrote: > > > > On Tuesday, 5 May 2015 20:25:46 UTC+1, Paul Royik wrote: >> >> I meant without discontinuous functions. >> What is the general approach even i

Re: [sage-support] find_root for systems

2015-05-05 Thread Paul Royik
I meant without discontinuous functions. What is the general approach even in numerical solving of "school" functions on the interval? Can sage do that? On Tuesday, May 5, 2015 at 9:53:22 PM UTC+3, Dima Pasechnik wrote: > > This is an overtly optimistic point of view that find_root can solve >

Re: [sage-support] find_root for systems

2015-05-05 Thread Paul Royik
introduction on solving equations in sage here: > http://www.sagemath.org/doc/tutorial/tour_algebra.html > > If you have a specific system of equations in mind, you should share them. > > > On 05/05/2015 08:06 AM, Paul Royik wrote: > > How can I find numerical root

[sage-support] find_root for systems

2015-05-05 Thread Paul Royik
How can I find numerical root for the system of equations? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to

[sage-support] Re: Sage find_root error

2015-05-04 Thread Paul Royik
This is incorrect question. You are actually asking what is sage for? I need to solve arbitrary equations, so I don't know ahead of time how it will look like. On Sunday, May 3, 2015 at 2:55:14 PM UTC+3, Dominique Laurain wrote: > > > What can be done ? > It depends of what you are looking for.

[sage-support] Re: Sage find_root error

2015-05-03 Thread Paul Royik
is in range [pi/2 - xtol, pi/2 + xtol] for your function > For me, "find_root_approximate" would have been better name than find_root > > On Sunday, 3 May 2015 00:50:55 UTC+2, Paul Royik wrote: >> >> Don't know why but find_root(x*tan(x), -1, 5) gives me 1.570796 which is >>

[sage-support] Sage find_root error

2015-05-02 Thread Paul Royik
Don't know why but find_root(x*tan(x), -1, 5) gives me 1.570796 which is incorrect, since it is pi/2, the value at which tangent doesn't exist. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving em

Re: [sage-support] Re: Simplify square root of square

2015-02-27 Thread Paul Royik
Thank you! On Friday, February 27, 2015 at 5:41:07 PM UTC+2, vdelecroix wrote: > > Here is one way... not sure it is the best > > sage: eq1 = sqrt(cos(4*x)+1) > sage: eq2 = eq1.simplify_trig() > sage: eq2 > sqrt(8*cos(x)^4 - 8*cos(x)^2 + 2) > > The next step consists in factoring what is insi

[sage-support] Re: Simplify square root of square

2015-02-27 Thread Paul Royik
OK. Let x is real. How to rewrite sqrt(cos(4x)+1) into sqrt(2)abs(cos(2x))? On Friday, February 27, 2015 at 3:36:59 PM UTC+2, Simon King wrote: > > Hi Paul, > > On 2015-02-27, Paul Royik > wrote: > > What is the way to consistently simplify square roots of square

[sage-support] Simplify square root of square

2015-02-27 Thread Paul Royik
What is the way to consistently simplify square roots of squares? Examples: sqrt((x+1)^2) - > x+1 sqrt(cos(4*x)+1) -> sqrt(2)cos(2x) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from

Re: [sage-support] Sympy in Sage

2015-02-23 Thread Paul Royik
h.org/packages/upstream/sympy/index.html > > Note that it will be update to 0.7.6 with > > http://trac.sagemath.org/ticket/17644 > > Vincent > > 2015-02-23 16:59 UTC+01:00, Paul Royik >: > > > Hello. > > > > > > from sympy import asec

Re: [sage-support] Sympy in Sage

2015-02-23 Thread Paul Royik
Hello. from sympy import asec On Monday, February 23, 2015 at 4:20:31 PM UTC+2, vdelecroix wrote: > > Hello, > > Which command did you tried exactly? "import sympy" works for me. > > Vincent > > 2015-02-23 14:46 UTC+01:00, Paul Royik >: > > > He

[sage-support] Sympy in Sage

2015-02-23 Thread Paul Royik
Hello. I'm trying to use sympy insinde sage. But I've got following error: ImportError: cannot import name asec As far as I know older versions of sympy didn't have asec class. So, what version of sympy does sage uses? I use sage 6.5 -- You received this message because you are subscribed to th

Re: [sage-support] Re: sage-6.3-x86_64-Darwin-OSX_10.6_x86_64-app.dmg won't be built?

2014-08-21 Thread 'Paul Mercat' via sage-support
I have an OS X 10.6 computer and I know how to compile sage. I you tell me how to do I can provide you the binaries of the last version of sage. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving e

[sage-support] Re: problem with sig_on() and sig_off()

2014-08-17 Thread 'Paul Mercat' via sage-support
Thank you very much, it works ! Paul Le dimanche 17 août 2014 22:46:17 UTC+2, Nathann Cohen a écrit : > > That's because you need to explicitly import/define sig_on and sig_off. I > guess that this is done automatically when the extension is .spyx. > > In the file sage/grap

[sage-support] Re: partitioned graphs in Sage?

2014-08-17 Thread 'Paul Mercat' via sage-support
language to do what you want. Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, sen

[sage-support] problem with sig_on() and sig_off()

2014-08-17 Thread 'Paul Mercat' via sage-support
following error : {{{ sage/combinat/words/cautomata.pyx:364:14: undeclared name not builtin: sig_on }}} Do you know why there is this error and how to fix it ? Thanks, Paul -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

[sage-support] Re: Problems modifying sage 6.2 source code

2014-07-27 Thread 'Paul Mercat' via sage-support
e, because it wastes me time to re-learn how to contribute to sage... Le dimanche 27 juillet 2014 19:24:57 UTC+2, Volker Braun a écrit : > > That is a git conflict marker. "git status" will tell you that you are > supposed to resolve the conflict. > > > > On Sund

[sage-support] Problems modifying sage 6.2 source code

2014-07-27 Thread 'Paul Mercat' via sage-support
Hello, I have developped some tools that works well with several versions of sage, but it doesn't work well with sage 6.2. When I try to modify the file sage/combinat/words/morphism.py, I get the following error : iMac-de-Paul-Mercat:sage-6.2 mercat$ ./sa

  1   2   >