Re: [sage-support] sage_mode sending stuff to sage not working

2014-07-22 Thread Nikos Apostolakis
On 7/22/14, Nikos Apostolakis wrote: > Hi, > > it seems that there is something in my .emacs that causes this behavior. > After starting emacs with —no-iniit-file option and then evaluating only the > sage-related parts of .emacs the problem goes away. I will investigate > further and let you kno

Re: [sage-support] sage_mode sending stuff to sage not working

2014-07-22 Thread Nikos Apostolakis
Hi, it seems that there is something in my .emacs that causes this behavior. After starting emacs with --no-iniit-file option and then evaluating only the sage-related parts of .emacs the problem goes away. I will investigate further and let you know. Actually I had to install version 0.11

[sage-support] Re: numba

2014-07-22 Thread Harald Schilly
On Tuesday, July 22, 2014 11:04:14 PM UTC+2, juresco leonard wrote: > > Hello, > > Would it be possible to integrate some packages of Anaconda (continuum.io), > especially Numba, in sage ? > Depending on your installation, it should be straight forward to start the Sage environment via "$ sage

[sage-support] numba

2014-07-22 Thread juresco leonard
Hello, Would it be possible to integrate some packages of Anaconda (continuum.io), especially Numba, in sage ? It's a kind of alternative to cython for speeding up the calculation by using the GPU and multiple-threads from Python. Thanks in advance for your answers. Léo -- You received this m

[sage-support] Re: embedding a pdf in a notebook

2014-07-22 Thread Fred Gruber
Finally figured out a simple way to embed a pdf stored in the DATA folder into the notebook: def embedPdf(fname,width=800,height=400): dataurl='/'+'/'.join(DATA.split('/')[-5:]) html.iframe(dataurl+fname,width=width,height=width) Just in case someone finds it useful Fred On Monday, May

[sage-support] Re: embedding a pdf in a notebook

2014-07-22 Thread Fred Gruber
Finally figure out a simple way to embed a pdf stored in the DATA folder into the notebook: def embedPdf(fname,width=800,height=400): dataurl='/'+'/'.join(DATA.split('/')[-5:]) html.iframe(dataurl+fname,width=width,height=width) Just in case someone finds it useful Fred On Monday, May 1

[sage-support] Re: SAGE

2014-07-22 Thread Nils Bruin
On Tuesday, July 22, 2014 7:23:39 AM UTC-7, William wrote: > > From: Bhavin Moriya > > > The thing is every time I wanna use it, I have to run this code. Now, > I just wanna know how do I make it work like the in-built command in > sage. Like for factoring number 10. I just need to say factor(10

[sage-support] Re: Unexplained Integration error message

2014-07-22 Thread Nils Bruin
On Tuesday, July 22, 2014 2:04:01 AM UTC-7, Craig E Larson wrote: > > I am getting an error that I don't understand for the following definite > integral. > > sage: integral(sqrt(1+(9*cos(3*x)^2)),0,pi/2) > > This is definitely real on its domain and under the square-root is always > positive. Ne

Re: [sage-support] Re: embedding a pdf in a notebook

2014-07-22 Thread Fred Gruber
Hi William is there a function somewhere where I could get the worksheet ID number? For example my current URL is http://ipaddress:8080/home/admin/14/ Is there a way to get the 14 programatically? thanks Fred On Wednesday, May 14, 2014 2:24:37 PM UTC-4, William wrote: > > On Wed, May 14, 2014

[sage-support] Re: Unexplained Integration error message

2014-07-22 Thread Craig E Larson
> This behavior was on Cloud Sage: 'Sage Version 6.2.rc2, Release Date: 2014-05-04' -- 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..

[sage-support] Fwd: SAGE

2014-07-22 Thread William Stein
-- Forwarded message -- From: Bhavin Moriya Date: Mon, Jul 21, 2014 at 9:07 AM Subject: SAGE To: William Stein Dear Sir, Friend of mine written up following code to generate The Rudin Shapiro Sequence. def count_11(st): count = 0 for i in range(len(st)-1): if st

Re: [sage-support] sage_mode sending stuff to sage not working

2014-07-22 Thread Ivan Andrus
Hmm. I still can't reproduce this. Can you try upgrading sage_mode to version 0.11? -Ivan On Jul 19, 2014, at 1:29 AM, Nikos Apostolakis wrote: > > On Thursday, July 10, 2014 7:07:05 PM UTC-4, Ivan Andrus wrote: > On Jun 28, 2014, at 9:49 AM, Nikos Apostolakis wrote: > > > Hello, > > >

[sage-support] Re: Unexplained Integration error message

2014-07-22 Thread Dima Pasechnik
On 2014-07-22, Craig E Larson wrote: > I am getting an error that I don't understand for the following definite > integral. > > sage: integral(sqrt(1+(9*cos(3*x)^2)),0,pi/2) > > This is definitely real on its domain and under the square-root is always > positive. Nevertheless, I get the error: >

[sage-support] Unexplained Integration error message

2014-07-22 Thread Craig E Larson
I am getting an error that I don't understand for the following definite integral. sage: integral(sqrt(1+(9*cos(3*x)^2)),0,pi/2) This is definitely real on its domain and under the square-root is always positive. Nevertheless, I get the error: "RuntimeError: ECL says: Error executing code in M

[sage-support] Re: Simplifying combinations of atomic inequalities

2014-07-22 Thread Dima Pasechnik
On 2014-07-16, slelievre wrote: > Robert Pollak wrote: > > Hello! >> >> I see the following wrong results: >> >> sage: x<2 and x<1 >> x < 2 >> sage: x<2 or x<1 >> x < 1 >> >> Is this just a syntax problem? How would I enter this correctly? >> > > The best way to manipulate logical combinati

[sage-support] Re: Question about ortogonal subspaces

2014-07-22 Thread Dima Pasechnik
On 2014-07-16, Juan Grados wrote: > Dears members, > > I trying to solve the next problem. Let be the chain of subspaces > J1 \subset J2 \subset J3 \subset J4 over the finite field GF(3), where > dim(J1) = 2, dim(J2) = 4, dim(J3) = 6 and dim(J4)=8. I want extract the > basis vector of the subspace