[sage-devel] Re: cylindrical_plot3d segfaults when used with functions returning None

2012-05-19 Thread kcrisman
On May 19, 1:15 pm, P Purkayastha wrote: > On Saturday, May 19, 2012 7:35:08 PM UTC+8, Andrzej Giniewicz wrote: > > > Today one of friends I introduced to Sage noticed that > > cylindrical_plot3d does not check for it's argument like plot3d does. > > It was a result of "common beginner mistake",

Re: [sage-devel] Re: Cephes licence : repackage?

2012-05-19 Thread Mike Hansen
On Sat, May 19, 2012 at 5:33 PM, Volker Braun wrote: > On Saturday, May 19, 2012 8:15:06 PM UTC-4, Mike Hansen wrote: >> >> I don't think that boost.math supports the things that we need it to, >> for example complex.h. > Oh I see you are saying they don't support complex arguments for all > funct

Re: [sage-devel] Re: Cephes licence : repackage?

2012-05-19 Thread Volker Braun
On Saturday, May 19, 2012 8:15:06 PM UTC-4, Mike Hansen wrote: > > I don't think that boost.math supports the things that we need it to, > for example complex.h. > Oh I see you are saying they don't support complex arguments for all functions. > >Also, it seems like cephes > > is included i

Re: [sage-devel] Re: Cephes licence : repackage?

2012-05-19 Thread Mike Hansen
On Sat, May 19, 2012 at 4:58 PM, Volker Braun wrote: > I think boost.math would be a better choice of special function library e.g. > for systems where the libc implementation sucks. I don't think that boost.math supports the things that we need it to, for example complex.h. >Also, it seems like

[sage-devel] Re: Cephes licence : repackage?

2012-05-19 Thread Volker Braun
Currently, the cephes package only prints: "We do not install the cephes library on any operating system except Cygwin." I think boost.math would be a better choice of special function library e.g. for systems where the libc implementation sucks. Also, it seems like cephes is included in scipy

[sage-devel] Re: single threaded atlas

2012-05-19 Thread Volker Braun
You can manually replace the atlas/blas libraries with single-threaded versions. Also, I think ATLAS is relatively smart about its threshold when it starts using threads. Small matrices are always done in a single thread. -- To post to this group, send an email to sage-devel@googlegroups.com

[sage-devel] Re: pickling objects in gap session.

2012-05-19 Thread Simon King
Hi Marco, On 20 Mai, 00:17, mmarco wrote: > If i have understood you correctly, that means that i cannot store a > gap object as an attribute of the class. Do you really mean "attribute of the class", or "attribute of a class instance"? Anyway, I don't see how that impression could come accross

[sage-devel] Re: pickling objects in gap session.

2012-05-19 Thread mmarco
If i have understood you correctly, that means that i cannot store a gap object as an attribute of the class. That means that each time element._gap_ is called the gap object should be created, right? I am afraid that it would be horribly slow (my code is already very slow becauseit uses the sage-

[sage-devel] Re: pickling objects in gap session.

2012-05-19 Thread Simon King
Hi Marco, On 2012-05-19, mmarco wrote: > Working on an implementation of free groups (ticket #12339), i have > found the following problem. I can loads-dumps free groups correctly, > but when i try to do the sme with free group elements, i get the > following error: I think that is a known probl

[sage-devel] pickling objects in gap session.

2012-05-19 Thread mmarco
Working on an implementation of free groups (ticket #12339), i have found the following problem. I can loads-dumps free groups correctly, but when i try to do the sme with free group elements, i get the following error: ... /home/mmarco/sage-5.0/local/lib/python2.7/site-packages/sage/ interfaces/e

Re: [sage-devel] Re: how do I build sage-5.0 on virtualbox?

2012-05-19 Thread Adam Webb
> > The restriction is not due to the physical CPU at all. The physical > CPU's architecture is equal to the architecture that MPIR detects. > That is not the problem. The problem is that Virtualbox does not > support certain instructions inside the VM. And that means that all > VMs made by peopl

[sage-devel] Re: cylindrical_plot3d segfaults when used with functions returning None

2012-05-19 Thread P Purkayastha
On Saturday, May 19, 2012 7:35:08 PM UTC+8, Andrzej Giniewicz wrote: > > Today one of friends I introduced to Sage noticed that > cylindrical_plot3d does not check for it's argument like plot3d does. > It was a result of "common beginner mistake", i.e. forgetting to > specify "return" in funct

Re: [sage-devel] Re: Tachyon as a dependency

2012-05-19 Thread Julien Puydt
Le samedi 19 mai, John H Palmieri a écrit: > > > On Saturday, May 19, 2012 2:57:21 AM UTC-7, Snark wrote: > > > > Hi, > > > > first, according to spkg/standard/deps, only sagetex depends on > > tachyon, but when you search for tachyon uses, you find them in the > > sage sources and not in the sa

[sage-devel] Re: Tachyon as a dependency

2012-05-19 Thread John H Palmieri
On Saturday, May 19, 2012 2:57:21 AM UTC-7, Snark wrote: > > Hi, > > first, according to spkg/standard/deps, only sagetex depends on tachyon, > but when you search for tachyon uses, you find them in the sage sources > and not in the sagetex ones. > > Then, I'm not sure it is a build-time dep

[sage-devel] cylindrical_plot3d segfaults when used with functions returning None

2012-05-19 Thread Andrzej Giniewicz
Today one of friends I introduced to Sage noticed that cylindrical_plot3d does not check for it's argument like plot3d does. It was a result of "common beginner mistake", i.e. forgetting to specify "return" in function. While var("x,y") def f(x,y): 1 plot3d(f,(x,-1,1),(y,-1,1)) says "TypeError

Re: [sage-devel] Tachyon as a dependency

2012-05-19 Thread Julien Puydt
Le samedi 19 mai, Jeroen Demeyer a écrit: > On 2012-05-19 11:57, Julien Puydt wrote: > > first, according to spkg/standard/deps, only sagetex depends on > > tachyon, but when you search for tachyon uses, you find them in the > > sage sources and not in the sagetex ones. > > > > Then, I'm not sure

Re: [sage-devel] Tachyon as a dependency

2012-05-19 Thread Jeroen Demeyer
On 2012-05-19 11:57, Julien Puydt wrote: > Hi, > > first, according to spkg/standard/deps, only sagetex depends on tachyon, > but when you search for tachyon uses, you find them in the sage sources > and not in the sagetex ones. > > Then, I'm not sure it is a build-time dep -- only a runtime one,

[sage-devel] Tachyon as a dependency

2012-05-19 Thread Julien Puydt
Hi, first, according to spkg/standard/deps, only sagetex depends on tachyon, but when you search for tachyon uses, you find them in the sage sources and not in the sagetex ones. Then, I'm not sure it is a build-time dep -- only a runtime one, since it looks like it's a call to the tachyon executa

[sage-devel] single threaded atlas

2012-05-19 Thread Rajeev Singh
Hi, How can I compile Sage such that atlas gets compiled to use single thread? I need this because I am writing an explicit parallel code using Sage's parallel (or mpi4py) and I don't want the individual processes to start many threads. Regards, Rajeev -- To post to this group, send an email to