Length error results when, instead of the usual Times in dot product, I use Signum@Times or Signum@:Times. On the other hand, when I use the equivalent of dot product u@(v"(1+lv,_)) no length error occurs.
Below is a short session demonstrating my experiments. What am I missing? Thanks, JVERSION Engine: j807/j64/darwin Release-c: commercial/2019-02-24T10:50:40 Library: 8.07.22 Platform: Darwin 64 Installer: J807 install InstallPath: /users/brian/j64-807 Contact: www.jsoftware.com (i. 3 4 ) +/ . * i. 4 5 70 76 82 88 94 190 212 234 256 278 310 348 386 424 462 (i. 3 4 ) +/ . *@:* i. 4 5 |length error | (i.3 4) +/ .*@:*i.4 5 (i. 3 4)+/@(*"(1+0,_)) i. 4 5 70 76 82 88 94 190 212 234 256 278 310 348 386 424 462 (i. 3 4)+/@(*@*"(1+0,_)) i. 4 5 3 3 3 3 3 3 4 4 4 4 3 4 4 4 4 -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm