Hi,
I need to replace some part of a matrix with an another matrix. I
tried to use matrix.set_block, but I got an error. I tried few other
alternative, but they returned all the same error:
"TypeError: unable to convert x (=sin(t1)) to an integer"
I made up a very simple example of a code that actually cause the
error:
t1=var('t1');
m1=Matrix([[sin(t1)]]);
m2=Matrix([[0]]);
m2[0,0]=m1[0,0]; #error happen here.
m2;
Can anyone tell me what i'm doing wrong? Or did I just ended up in a
bug....
Jo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---