Re: How to make series of variables with indexes?
Ralf Hemmecke <[email protected]>
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Message-ID | <[email protected]> |
Does [x^n=subscript(a,[n]) for n in 1..3] help you? Ralf On 07/09/2008 03:25 PM, Соловьев Александр Александрович wrote: > Hi, list. > > I want to make a series of equations like this > > x**2 + 2 = a2 > x**3 + 3 = a3 > etc > > How could I construct variable names a1, a2 ... in a loop? > > Thanks.