Re: [sage-support] install sage to USB or flash card (Re: sage on slitaz linux?)

2010-03-21 Thread Peter K.H. Gragert
Indeed, I work with it already since the second day ;-). I came across only once, shutting down power to early, the startup showed only a minimal 'desktop window'. remedy, I save now and once the relevant *.sfs with other extension on my HD. Sage worksheets are exported as files to /mnt/home so the

[sage-support] Re: Seeking Cython-101 lesson

2010-03-21 Thread Alec Mihailovs
On Mar 19, 1:27 pm, Pierre wrote: > (101 is american numbering meaning in fact first lecture of the first > year) It's close, but not exactly. In American colleges and universities, the first digit mean the year, so courses with numbers started with 1, are supposed to be taken by freshmen, and 10

Re: [sage-support] Seeking Cython-101 lesson

2010-03-21 Thread Minh Nguyen
Hi Robert, On Sat, Mar 20, 2010 at 4:40 AM, Robert Bradshaw wrote: > I would be happy to do this, I'm just in crunch time with my thesis as you > know :). Get a working Python version, and I'll help you translate it into > Cython the first week or two next quarter (I'll be out of town until th

[sage-support] Re: Question about ETuple

2010-03-21 Thread Marshall Hampton
I don't know the answer to your question, but I can tell you that in my experience I find ETuples irritating and I always convert them to ordinary lists, tuples or Sage vectors. In your example if those objects are converted to any of those types then equality will hold. My impression is that the

[sage-support] Re: Seeking Cython-101 lesson

2010-03-21 Thread Marshall Hampton
What _I'd_ really like help with is more advanced examples of using cython in sage, specifically going from doubles and ints to extended precision types. I don't know of any standalone examples for that. -Marshall On Mar 19, 12:43 pm, Robert Bradshaw wrote: > On Mar 19, 2010, at 10:39 AM, Marsh

Re: [sage-support] Sage 4.3.3 Fails To Build On 64 bit Linux System (gcc.4.4.2)

2010-03-21 Thread Andrzej Giniewicz
> Does the 64 bit build need some 32 bit libraries or is it > the case that the sage-4.3.3 doesn't yet build on a gcc.4.4.3 compiler? issue is probably somewhere else, I don't know about 4.3.3, but I just finished building sage 4.3.4 with gcc 4.4.3 on latest pure 64 bit Arch Linux (without lib32-*

[sage-support] install sage to USB or flash card (Re: sage on slitaz linux?)

2010-03-21 Thread emil
On Mar 20, 10:52 pm, Alec Mihailovs wrote: > On Mar 19, 4:51 am, bb wrote: > > > I tried to compile sage from source on slitaz, a very small and > > ultrafast starting linux and slitaz might be installed to a bootable USB. > > No success. > > You could just use Sage live CD (bootable). If it bo

[sage-support] Question about ETuple

2010-03-21 Thread Michael
Hi, can someone explain to me the following counterintuitive behaviour of ETuples and the operation eadd_p? When I enter in the online Sage Notebook: sage: from sage.rings.polynomial.polydict import ETuple; sage: ETuple([0,1]).eadd_p(1, 0)==ETuple([1,1]); I get the answer False, though I would e

Re: [sage-support] newbie: plot() questions

2010-03-21 Thread Renato
On Thu, 18 Mar 2010 08:43:44 +0100 Jose Guzman wrote: > Hi Nareto, > > would you mind to write a simple and minimal example of your f(t) and > plot options? This would be the best way to try to help you > > > > Nareto wrote: > > Hello, I have to plot an exponential function with vertical > >

[sage-support] cython cimport problems

2010-03-21 Thread luisfe
Hi, I am trying to work with cython. I have the following code: from sage.libs.ntl.ntl_ZZ cimport ntl_ZZ cdef ntl_ZZ dummy(ntl_ZZ a, int b): return a If I compile it with sage -bI get the following error: building 'sage.rings.polynomial.polynomial_absolute_number_field_dense' extensi