[sage-support] Re: Difficulty evaluating a boolean polynomial at a point specified by a tuple

2014-06-23 Thread Nils Bruin
On Monday, June 23, 2014 7:57:39 PM UTC-7, Stephen Kauffman wrote: > > poly(tuple(mat_list(GS)+mat_list(GC)+mat_list(GY))) # GS > etc are matrices of boolean polynomials turned into lists, concatenated and > then turned into a tuple > > ValueError: Number of arguments is differen

[sage-support] Difficulty evaluating a boolean polynomial at a point specified by a tuple

2014-06-23 Thread Stephen Kauffman
I have a boolean polynomial, poly, in a BooleanPolynomialRing() with in this case 108 variables. I have a tuple of length 108 (double checked) whose elements are definitely other boolean polynomials in the parent ring of poly. But when I execute: poly(tuple(mat_list(GS)+mat_list(GC)+mat_list(GY

Re: [sage-support] Re: Having Trouble Plotting My Superposition State

2014-06-23 Thread Chris Maness
You, saw a plot? I didn't see a plot. Chris On Mon, Jun 23, 2014 at 6:52 PM, kcrisman wrote: > > > On Monday, June 23, 2014 9:18:29 PM UTC-4, Chris Maness wrote: >> >> I am trying to plot a superposition of two static states psi1 and psi2 >> that compose a state system Psi. Here is my code so

[sage-support] Re: Having Trouble Plotting My Superposition State

2014-06-23 Thread kcrisman
On Monday, June 23, 2014 9:18:29 PM UTC-4, Chris Maness wrote: > > I am trying to plot a superposition of two static states psi1 and psi2 > that compose a state system Psi. Here is my code so far: > > I'm not sure what happened here. I should point out that you don't need to declare a varia

[sage-support] Having Trouble Plotting My Superposition State

2014-06-23 Thread Chris Maness
I am trying to plot a superposition of two static states psi1 and psi2 that compose a state system Psi. Here is my code so far: assume(x, 'real'); n=var('n'); #n=1; a=var('a'); assume(a > 0); assume(a, 'real'); #a=1; hbar=var('hbar'); assume(hbar, 'real'); hbar=1; m=var('m'); m=1; psi(x,t,n)=sqrt

Re: [sage-support] Re: Parameterizing a Wave Function?

2014-06-23 Thread Chris Maness
Thank you. I am able to do simple examples, but I am having problems plotting my function without the sliders, so I am going to post that too. Chris On Mon, Jun 23, 2014 at 5:51 PM, kcrisman wrote: > > >> I would like to plot my wave function probability P vs. x, but it >> would be cool if I co

[sage-support] Re: Parameterizing a Wave Function?

2014-06-23 Thread kcrisman
I would like to plot my wave function probability P vs. x, but it > would be cool if I could have a time slider that shows how the plot > changes parametrically. > > > This should be pretty easy with interacts. (Do "interact?" in a Sage prompt/cell for more info, or see http://interact.sagem

[sage-support] Parameterizing a Wave Function?

2014-06-23 Thread Chris Maness
I would like to plot my wave function probability P vs. x, but it would be cool if I could have a time slider that shows how the plot changes parametrically. Anyone know how to this easily? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Karl Schultheisz wrote: > In Arch Linux, Sage installs to /opt/sage. I assume this is the SAGEROOT > you refer to. yes. (usually you will also have an environment variable called SAGE_ROOT set to the location) As well,iIf you start Sage and type at the prompt, you'll see something

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Karl Schultheisz wrote: > Thanks for your help. I ran: > > [...sage]$ git fetch http://trac.sagemath.org/sage.git > u/pbruin/16224-maxima_to_sage > fatal: Not a git repository (or any of the parent directories): .git I see - you don't have a git repository, and you do need one! The

Re: [sage-support] Re: strange behavior with sums

2014-06-23 Thread Karl Schultheisz
In Arch Linux, Sage installs to /opt/sage. I assume this is the SAGEROOT you refer to. On Mon, Jun 23, 2014 at 6:17 PM, Karl Schultheisz wrote: > I agree. Not sure why it is formatted in the quotation as two lines, > because I entered it as one line. > > > On Mon, Jun 23, 2014 at 6:09 PM, Dima

Re: [sage-support] Re: strange behavior with sums

2014-06-23 Thread Karl Schultheisz
I agree. Not sure why it is formatted in the quotation as two lines, because I entered it as one line. On Mon, Jun 23, 2014 at 6:09 PM, Dima Pasechnik wrote: > On 2014-06-23, Karl Schultheisz wrote: > > Thanks for your help. I ran: > > > > [...sage]$ git fetch http://trac.sagemath.org/sage.git

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Karl Schultheisz wrote: > Thanks for your help. I ran: > > [...sage]$ git fetch http://trac.sagemath.org/sage.git > u/pbruin/16224-maxima_to_sage > fatal: Not a git repository (or any of the parent directories): .git this should be one command (on one line) $ git fetch http://trac

Re: [sage-support] Re: strange behavior with sums

2014-06-23 Thread Karl Schultheisz
Thanks for your help. I ran: [...sage]$ git fetch http://trac.sagemath.org/sage.git u/pbruin/16224-maxima_to_sage fatal: Not a git repository (or any of the parent directories): .git On Mon, Jun 23, 2014 at 2:55 PM, Dima Pasechnik wrote: > On 2014-06-23, Karl Schultheisz wrote: > > I have i

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Karl Schultheisz wrote: > I have installed git and chosen my name and email address. What commands > should I run to apply this patch? I have been reading the developer manual, > but at this point I am not interested in contributing code to Sage. I just > want to apply patches. this

Re: [sage-support] Animate slider in Sage Version 6.2

2014-06-23 Thread William Stein
On Tue, Jun 17, 2014 at 8:41 PM, Pat Browne wrote: > Is there a way to animate a slider in version 6.2 such that it cycles > through the range of values automatically? The only hits I found were that > geogebra can do it, but sage cannot. > I'm running Sage Version 6.2 Release Date: 2014-05-06 on

Re: [sage-support] Re: strange behavior with sums

2014-06-23 Thread Karl Schultheisz
I have installed git and chosen my name and email address. What commands should I run to apply this patch? I have been reading the developer manual, but at this point I am not interested in contributing code to Sage. I just want to apply patches. On Mon, Jun 23, 2014 at 9:45 AM, Karl Schultheisz

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Karl Schultheisz
Thank you. It is obviously time that I learn to use git. On Monday, June 23, 2014 9:10:09 AM UTC-4, Dima Pasechnik wrote: > > On 2014-06-23, Dima Pasechnik > wrote: > > On 2014-06-23, Karl Schultheisz > > wrote: > >> Sorry, I haven't. I don't know how. > > well, this is actually easy to fix, a

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Dima Pasechnik wrote: > On 2014-06-23, Karl Schultheisz wrote: >> Sorry, I haven't. I don't know how. > well, this is actually easy to fix, as no recompilation of Sage is > needed here: the only change is in src/sage/intefaces/maxima_lib.py > > http://git.sagemath.org/sage.git/diff

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Karl Schultheisz wrote: > Sorry, I haven't. I don't know how. well, this is actually easy to fix, as no recompilation of Sage is needed here: the only change is in src/sage/intefaces/maxima_lib.py http://git.sagemath.org/sage.git/diff/src/sage/interfaces/maxima_lib.py?id=3e25c1357e

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Dima Pasechnik wrote: > On 2014-06-23, Karl Schultheisz wrote: >> I'm using Sage 6.2 on Arch Linux. I have posted before about sums being >> wrong >>, >> and I am happy to see that the community took action.

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Karl Schultheisz
Sorry, I haven't. I don't know how. On Monday, June 23, 2014 8:38:46 AM UTC-4, Dima Pasechnik wrote: > > On 2014-06-23, Karl Schultheisz > wrote: > > I'm using Sage 6.2 on Arch Linux. I have posted before about sums being > > wrong > >

[sage-support] Re: strange behavior with sums

2014-06-23 Thread Dima Pasechnik
On 2014-06-23, Karl Schultheisz wrote: > I'm using Sage 6.2 on Arch Linux. I have posted before about sums being > wrong >, > and I am happy to see that the community took action. Thanks! I have been > seeing other errors t

[sage-support] strange behavior with sums

2014-06-23 Thread Karl Schultheisz
I'm using Sage 6.2 on Arch Linux. I have posted before about sums being wrong , and I am happy to see that the community took action. Thanks! I have been seeing other errors that may or may not be related to those addressed