Re: [sage-support] Re: Optimizing this function with Cython

2014-03-13 Thread Georgios Tzanakis
Hi Simon, I *really* appreciate your thorough answer! Indeed there was a bug and I had to do a couple of changes to the code, but I understood a lot of things about how to use Cython and was able to use it properly and have improvements. On top of that, I didn't know about the timeit function whic

[sage-support] Re: Sagetex issues

2014-03-13 Thread kcrisman
> > Anyways, if the first method didn't work, isn't there some kind of deeper > problem ? > > > If the first method didn’t work, then it seems there is some bigger > problem. Perhaps you could include a transcript of what you did together > with your sample file. > Yeah, at this point I think

[sage-support] How to plot frequency distributions and their cumulative form

2014-03-13 Thread Dario Piantanida
Hello, I'm trying to understand how to use Sage for what I need. I installed and tried it for a while, but I didn't come to a solution. I have a series of measures that range from 0 to 100, each value can be repeated several times. I need to plot the frequency distribution of this measures and

[sage-support] trouble with deepcopy

2014-03-13 Thread Lee Worden
I posted this question to the Sage community on Google+ a while back, but didn't get a response so I'll try here. I'm getting behavior that seems wrong from deepcopying symbolic expressions: $ sage ┌┐ │ Sage Version 5.12, Relea

[sage-support] Re: Sagetex issues

2014-03-13 Thread Ivan Andrus
On Mar 13, 2014, at 9:20 AM, sder...@gmail.com wrote: Hi, I have tried the first method and it still created the files in my home folder which is weird. For the second method... I have been using TeXMaker for quite a while and I really like the GUI so... I don't know what to do. Should I switch to

[sage-support] Re: Sagetex issues

2014-03-13 Thread sdermon
Hi, I have tried the first method and it still created the files in my home folder which is weird. For the second method... I have been using TeXMaker for quite a while and I really like the GUI so... I don't know what to do. Should I switch to TeXShop only when I compile with sagetex ? Anyways

[sage-support] Re: Sagetex issues

2014-03-13 Thread kcrisman
First to Ivan and Dan - see http://trac.sagemath.org/ticket/13261 for one place where this can be dealt with. Is http://trac.sagemath.org/ticket/11755 or http://trac.sagemath.org/ticket/13247 possibly relevant? I've opened http://trac.sagemath.org/ticket/15932 for this issue. I have no idea

[sage-support] Re: Optimizing this function with Cython

2014-03-13 Thread Simon King
Hi! On 2014-03-12, geo909 wrote: > But I'm still not sure how to use things properly. So, for instance, is the > following optimization reasonable? > (there is an ~30% increase in speed from pure python code) It is easy to get more. But first: Is there a bug in your code? You write if