[sage-support] Re: Higher-level symbolic manipulations

2010-06-30 Thread pang
On 30 jun, 22:45, Ryan Hinton wrote: > Thanks for the reply!  That's a perfect example of what I am doing > now.  Can I go one level higher and define my generating function as a > product of terms *while leaving the actual degrees, coefficients, and > even the number of dimensions symbolic*.   I

[sage-support] Re: Higher-level symbolic manipulations

2010-06-30 Thread Ryan Hinton
I may have the answer: no, not directly. Sage includes Pynac, which wraps GiNaC. GiNaC has indexed expressions, which just might do exactly what I want. (I don't have ginsh running to test differentiation.) But it looks like indexed expressions are not hooked up for use in Sage. I am posting t

[sage-support] Re: Higher-level symbolic manipulations

2010-06-30 Thread Ryan Hinton
Thanks for the reply! That's a perfect example of what I am doing now. Can I go one level higher and define my generating function as a product of terms *while leaving the actual degrees, coefficients, and even the number of dimensions symbolic*. So instead of getting something like (5*x0*x1 +

[sage-support] Re: Dirac Comb

2010-06-30 Thread TianWei
> This looks like a bug in the way symbolic sums are handled: > > http://trac.sagemath.org/sage_trac/ticket/9393 > > For a workaround, try renaming your file to have the extension .sage > instead of .py. > > BTW, to any developer reading this: > > A brief search through the tutorial or the FAQ incl

[sage-support] Re: Higher-level symbolic manipulations

2010-06-30 Thread pang
> Can I do this in Sage? Sure. Here you have some tips: {{{id=1| #Create n variables with names x1, x2 ... xn #and store them in a list vs n = 5 vs = var(' '.join('x%d'%j for j in range(5))) vs /// (x0, x1, x2, x3, x4) }}} {{{id=6| def pot(vs,ds): return prod(v^d for v,d in zip(vs,ds)) pot(

[sage-support] Higher-level symbolic manipulations

2010-06-30 Thread Ryan Hinton
I have a bevy of algebra/calculus to work through for my research. I have been using Sage to check my derivation for specific instances, but it would be great if Sage could help me *derive* the results in the first place. Here is a simplified example. (Hopefully the mixed math/LaTeX/Sage syntax

Re: [sage-support] Re: Simplification / Latex question

2010-06-30 Thread Mike Witt
On 06/30/2010 05:06:19 AM, Burcin Erocal wrote: On Fri, 25 Jun 2010 07:53:00 -0700 Mike Witt wrote: > On 06/25/2010 06:07:02 AM, kcrisman wrote: > > Dear Mike, > > > > Just to follow up: > > > > There is further discussion at > > http://trac.sagemath.org/sage_trac/ticket/9329 > > if you are int

[sage-support] Re: how to install new Gap package in sage

2010-06-30 Thread A.A
thank you so much . On Jun 28, 8:23 pm, Simon King wrote: > Hi! > > On Jun 28, 6:58 pm, "A.A" wrote: > > > I am looking for tutorial about how one can install new Gap package in > > sage  if this possible  . > > In a nutshell: A GAP package should be possible to install just as > usual, with th

[sage-support] pretty print in full output

2010-06-30 Thread A.A
Hello , I want to ask if there is build in method to use pretty print in full output . i.e (when I do some long calculations the output will truncated , and the pretty print does not render in full output ) thanks -- To post to this group, send email to sage-support@googlegroups.com To unsubscr

[sage-support] Re: Simplification / Latex question

2010-06-30 Thread kcrisman
> As far as I understand from your previous comments, a way to extract the > exponential functions from the expression is all you need. You don't > really need to walk through the tree. Here is one way to do this: > > sage: t = exp(x+y)*(x-y)*(exp(y)+exp(z-y)) > sage: t > (e^(-y + z) + e^y)*(x - y

Re: [sage-support] Re: Simplification / Latex question

2010-06-30 Thread Burcin Erocal
On Fri, 25 Jun 2010 07:53:00 -0700 Mike Witt wrote: > On 06/25/2010 06:07:02 AM, kcrisman wrote: > > Dear Mike, > > > > Just to follow up: > > > > There is further discussion at > > http://trac.sagemath.org/sage_trac/ticket/9329 > > if you are interested in saying exactly what sort of data st

Re: [sage-support] Dirac Comb

2010-06-30 Thread Burcin Erocal
On Sat, 26 Jun 2010 16:01:17 +0200 Tobias Katz wrote: > Hi, > > I got a first result, but it only works when I "type" it in the > command line interface. > > import numpy as np > import pylab as pl > > pl.ion() > pl.grid(True) > > var('t n_ ll ul') > > tt=np.arange(0.01,10,0.01) > > f=sin(t

[sage-support] html.table() still leads to texttt error

2010-06-30 Thread Stan Schymanski
Dear all, As reported in http://groups.google.com/group/sage-support/browse_thread/thread/b35dc4f890f48677/32bce5d080ef80d1?lnk=gst&q=texttt#32bce5d080ef80d1, the control sequence \texttt leads to an error in Jsmath. This is supposed to be solved in Sage 4.4, but when I use html.table() to display