axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Axiom-mail] How to make series of variables with indexes?


From: Соловьев Александр Александрович
Subject: RE: [Axiom-mail] How to make series of variables with indexes?
Date: Thu, 10 Jul 2008 00:47:05 +0400

Yes, it does help. Thanks a lot. And one more question about subscript(). Why 
it doesn't work in sum() context? I.e.

sum(subscript(a,[i]), i=0..3)

gives 4ai instead of sum a0 + a1 + a2 ...

 
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]