Hello,

I try to define a matrix (in particular a skew symmetric) with some
variables as entries. I know how to do it by hand defining some
variables and then put then into a matrix but what I want to have
seems to more complicated.

1. I choose a size for the 2g x 2g matrix say g=2
2. I want to generate a matrix J
     [0,a1,a2,a3]
     [-a1,0,a4,a5]
     [-a2,-a4,0,a6]
     [-a3,-a5,-a6,0]

It would be perfect if there is the possibility that i can work with
the ai and if further calculations lead to

a1=1

J is changed.

I had the idea to generate a kind of list/vector where the entries are
stored first symbolic variables which can be set  step by step to some
value. It is something like the matrix with values that are somehow
linked to that list.

I need the variables because they has to fulfill some conditions.

Thanks

Jens


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to