max (matrix, DIM) does not behave as advertised

David Bateman David.Bateman at motorola.com
Wed Nov 12 07:05:03 CST 2008


Francesco Potortì wrote:
> I guess that, for one more familiar with Octave than I am, this should
> be sufficient.  But if a user like me gets into confusion, I think the
> help string should be more clear.  This should suffice, if correct:
>
>      For a vector argument, return the maximum value.  For a matrix
>      argument, return the maximum value from each column, as a row
>      vector, or over the dimension DIM: in this case, the second
>      argument should be an empty matrix. For two matrices (or a matrix
>      and scalar), return the pair-wise maximum.
>   
That is probably clearer, so sure propose a patch

D.

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Bug-octave mailing list