Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to use variables in a matrix ?

Hello,

this code below doesn't do what I expect.

var('x'); M(x) = matrix(2, 2, [x,x,x,x]); M(3)

Can someone tell me what to do please ?