That said, note that +/"1 does "lose" the last dimension.
Thanks,
--
Raul
On Thu, Apr 16, 2020 at 5:30 PM Mike Powell wrote:
>
> Of course. (A place where J and APL differ.)
> Thanks Jan-Pieter.
>
> Mike
>
> > On Apr 16, 2020, at 12:00, Jan-Pieter Jacobs
> > wrote:
> >
> > Actually, the dime
Jd release 4.29 available:
https://code.jsoftware.com/wiki/Jd/Release
--
For information about J forums see http://www.jsoftware.com/forums.htm
Of course. (A place where J and APL differ.)
Thanks Jan-Pieter.
Mike
> On Apr 16, 2020, at 12:00, Jan-Pieter Jacobs
> wrote:
>
> Actually, the dimension lost is the first, as insert [0] (u/) inserts u
> between the items [1].
>
> Demonstration:
>
> $ foo =: i. 2 3 4
> 2 3 4
> $ +/ foo
>
Actually, the dimension lost is the first, as insert [0] (u/) inserts u
between the items [1].
Demonstration:
$ foo =: i. 2 3 4
2 3 4
$ +/ foo
3 4
[0]: https://code.jsoftware.com/wiki/Vocabulary/slash
[1]: https://code.jsoftware.com/wiki/Vocabulary/AET#Item
Cheers,
Jan-Pieter
Op wo 15 a
Am 15.04.2020 20:54 schrieb Mike Powell:
Thomas,
I J there is not really anything for a column vector. If an object,
like your rvec, has a single dimension it’s a vector. If it has two
dimensions, as does cvec, it’s a matrix. That’s different from most
conventional mathematical notation.
When y