Hi,

 

I have been reading posts and looking through the documentation for quite 
some time now and perhaps I'm at a point where I should ask a question, 
although much has been written on the subject.

 

Where can I find the latest documentation on indexing in Sage? 

 

The kinds of problem I have in mind have variables indexed by t, where 
integer t goes from 0 to infinity.

 

In Mathematica, it's pretty straightforward to index by t (here 
<http://fmwww.bc.edu/repec/bocode/s/SolvingAndSimulatingRBCModels.pdf> is 
one example).

 

In Maple, expressions like "p := sum(a[i]*x^i,i=0..n);" also work well, 
even if n is not pre-defined. 

 

In Sage, if I understand correctly, I have to use Maxima (p = 
maxima('sum(a[i]*x^i,i,0,n)') 
<http://ask.sagemath.org/question/8181/implicitly-defining-a-sequence-of-variables/>),
 
GiNaC expressions <http://trac.sagemath.org/ticket/11576> or functions or 
objects that generate a fixed set of variables (the VariableGenerator object 
<https://groups.google.com/forum/#!newtopic/sage-support/sage-support/GFJdjFvKCvo>
 
is one example). 

 

Thank you for any additional reference on this.

 

Nicholas

 

-- 
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...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to