[sage-support] Using multifactorial function in Sage/Eclipse

2013-08-21 Thread Asad Akhlaq
Hi, After a long struggle I am able to run my sage code in Eclipse. But I am getting few errors when I run my code that runs without any error in sage notebook. For example using "for" loop, gives me error if I write "for k in [0..10]" , I need to change it to "for k in range(0,11)" ...

Re: [sage-support] arrays in Sage's cython

2013-08-21 Thread Robert Bradshaw
Using a Python list is probably the fastest way to iterate over an array of Python objects--it's a PyObject** under the hood and Cython uses the C API calls to get at it. Your "check" might be the bottleneck, especially if it's a Python call. Also, no need to write this as a while loop; just use "

[sage-support] arrays in Sage's cython

2013-08-21 Thread Daniel Krenn
I need an array of Elements of RealIntervalField and I want to iterate (a lot of times) through it. How can I do that in a fast way in Sage's cython (i.e. in the notebook or in a .spyx-file)? An (minimal) example what I basically want is given below (PS). I tried the following things (and a lot m

[sage-support] Label of vertices

2013-08-21 Thread Oleksandr Kazymyrov
How can I get a graph with two vertices and one label? I want to create something like this . -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop re

Re: [sage-support] Re: Possible bug in algebraic_immunity( ) function in crypto toolbox

2013-08-21 Thread Oleksandr Kazymyrov
Yes, I agree with this statement. However, this is not useful. Suppose I (as an user) want to find an annihilator of "f" (only "f"). I alway must write a cycle to find degree and corresponding function. I propose to add an option to "annihilator" which will allow return the function with smalle

[sage-support] Re: Left and right limits (is default of 'dir' None?)

2013-08-21 Thread Dima Pasechnik
On 2013-08-21, Robert Bradshaw wrote: > On Mon, Aug 19, 2013 at 6:30 PM, Dima Pasechnik wrote: >> On 2013-08-19, Vincent Knight wrote: >>> --001a1133aa8653f2ed04e4510b09 >>> Content-Type: text/plain; charset=ISO-8859-1 >>> >>> Thanks for the answer kcrisman but I'm afraid I'm still not sure I >>