mini / maxi functions



On 7/1/10, Mario Rodriguez <biomates at telefonica.net> wrote:

> Stavros Macrakis escribi?:
>> I disagree that lmax should perform column-wise max.  I certainly
>> understand that this is a useful and important operation, but I don't
>> think it should be the meaning of lmax, especially since Maxima
>> doesn't allow 'max' on lists (a.k.a. vectors).
>
> Then, let's rewrite the functions in descriptive. But I don't like
> col_min, as you proposed in a previous post, since other functions
> (mean, std, etc.) also operate in column wise form without prefix col_
> in their names.
>
> I prefere smin and smax for the sample min and max. These names also
> follow the name convention of lmin and lmax.

I dunno. Maxima has a very large namespace so less frequently
used names should be spelled out. Also, I don't see that this
operation is peculiar to observational data. So instead of
smin, smax I'll recommend matrix_min and matrix_max.

FWIW

Robert Dodier