Hi,
according to the doc min/max/mean are not supposed to work with matrices
(where I think we have debated in the past if this restriction could be
lifted, just like with sum(), but I don't remember the reasons for not
doing so...), but instead of yielding an error message they give wrong
results:
<hansl>
scalar hey = min(I(2)) # gives 1
hey = max(I(2)) # gives 1, true by coincidence?
hey = max(mreverse(I(2))) # gives 0, so yes, a coincidence
hey = mean(I(2)) # gives 1
</hansl>
It looks as if the functions just take the first (upper-left) element of
the matrix and work on that.
This is with a Aug 20 snapshot.
thanks,
sven