I have trouble with FindRoot
for vector variables, I have search MMA SE find a solution. in Szabolcs‘s code, Vector FindRoot
realized by the Evaluated
option of FindRoot.
Here is my code,Evaluated -> False
not work.
deltat = 1*^-3;
integrator[x_, y_, {x0_, y0_}] := {x[1], y[1]} /.
FindRoot[{x[1] - x[0] == {1, 1, 1},
y[1] - y[0] == {1, 1, 1}} /. {x[0] -> x0, y[0] -> y0}, {{x[1],
x0}, {y[1], y0}}, Evaluated -> False];
integrator[x, y, {{0, 0, 0}, {0, 0, 0}}];
I have test when the variables is scalar, but it fails in Vector variables.
Any comments will be very appreciate!