I don't understand this rank error, the only unsatisfying explanation I think of is that amend works in place.

   2 2 1{"0 1 A  NB. goal
1.4 55 0.059

   2#,:2 2 1
2 2 1
2 2 1

   (;          $)@:|: A
+------------+---+
|  0  0 0.034|4 3|
|  1 25 0.059|   |
|1.4 55 0.094|   |
|  2 85     0|   |
+------------+---+
      2 2 1}"1 _ |:A
1.4 55 0.059

   (2#,:2 2 1)}"1 _ |:A
|rank error
|       (2#,:2 2 1)}"1 _|:A

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to