In sage command line, I can write T(x,y) = (x*y,x+y) and can apply T.diff() to compute Jacobian.
But when I write the same in python, it says you can not assign to a function.
Does anyone know what I should write in python for T(x,y)=(x*y,x+y)?
1 | initial version |
In sage command line, I can write T(x,y) = (x*y,x+y) and can apply T.diff() to compute Jacobian.
But when I write the same in python, it says you can not assign to a function.
Does anyone know what I should write in python for T(x,y)=(x*y,x+y)?
2 | retagged |
In sage command line, I can write T(x,y) = (x*y,x+y) and can apply T.diff() to compute Jacobian.
But when I write the same in python, it says you can not assign to a function.
Does anyone know what I should write in python for T(x,y)=(x*y,x+y)?
3 | retagged |
In sage command line, I can write T(x,y) = (x*y,x+y) and can apply T.diff() to compute Jacobian.
But when I write the same in python, it says you can not assign to a function.
Does anyone know what I should write in python for T(x,y)=(x*y,x+y)?