Dear Minh Van Nguyen
Hello
Thanks a lot for your response, it's worked very well for me.
I have used c=[var('a[%s]'%i) for i in range(n)] to make 1-D indexed
variables. In order to have 2-D indexed variables, I use a commend as
below:
m=matrix(n+1,n+1,[var('m[%s]'%i) for i in (1..(n+1)*(n+1))])
so, I match a 1-D indexed variable to each element of the 2-D indexed
variable m.
Maybe Sage has 2-D indexed variables in another commend, and there is
no need to such a trick.
Thnaks a lot for your time dear Minh,
God bless you,
Hamed Akhavan
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org