Re: [Jprogramming] Rank of matrix divide

2022-05-21 Thread Raul Miller
On Sat, May 21, 2022 at 3:39 AM Adrien Mathieu wrote: > It took me some time to understand why you were mentioning A%.A, as > matrix multiplication is not commutative. Turns out, by reading the > documentation, that x%.y is actually (%.y) +/ .* x, not x +/ .* %.y as I > implicitly assumed. Btw, wh

Re: [Jprogramming] Rank of matrix divide

2022-05-21 Thread Adrien Mathieu
Somehow, this makes sense, yes. We don't know how to divide by anything but a matrix, so the right rank is 2, but we know how to multiply two things that are more than matrices, so it's ok to have a left right _. It took me some time to understand why you were mentioning A%.A, as matrix multip

Re: [Jprogramming] Rank of matrix divide

2022-05-16 Thread Raul Miller
First off, this is a good question. That said, it's matrix divide because we are "dividing by" a matrix. But maybe it's easier to illustrate this than explain it: 'A B C'=:ABC=: p:i.3 3 3 ABC%.A 3.92308 4 2.25641 2 1.84615 1.58974 0.923077 _0.410256 _0.974359 5.230