Am 31.01.2018 um 14:50 schrieb Artur Tarassow:
> the following examples give different results (different shapes)
> depending on whether '<' or '.<' is used. Not sure whether this
is
> expected or a bug.
If I remember correctly, this is indeed intended. I think the element
wise check was implemented only 2 years ago or so.
Not really -- there is a users list thread "element-wise matrix operator
.<" from more than five years ago (2012). And guess who started it -- ?
You did.
In that thread Allin explained in passing, however, that the check M < 1
(for a matrix M) tests whether _all_ elements of the matrix are < 1.
So indeed the behavior is intended, let's see if I can remember that one.
thanks,
sven