| Author |
Comment/Response |
Kaixiong Ye
|
02/02/12 5:07pm
Try this code and you will notice when there are two elements in the list, the result is different from what it should be, as shown for the other two.
a = {{1, 1}, {2, 2}, {3, 3}}
b = { {1, 1}, {2, 2}}
c = { {1, 1}}
a /. {x_, y_} -> {10, 11}
b /. {x_, y_} -> {10, 11}
c /. {x_, y_} -> {10, 11}
URL: , |
|