To find the minimum (maximum) member of a list, use the function lmin
(lmax).
Depending on what you want, try something like:
(%i162) largest_matrix_element(m) := lmax(map('lmax, args(m)))$
(%i163) m : matrix([1,2,3],[a,b,42])$
(%i164) largest_matrix_element(m);
(%o164) max(42,a,b)
(%i165) largest_matrix_element_in_each_row(m) := map('lmax, args(m))$
(%i166) largest_matrix_element_in_each_row(m);
(%o166) [3,max(42,a,b)]
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>To: "maxima at math.utexas.edu" <maxima at math.utexas.edu>
>From: Sheldon Newhouse <sen1 at math.msu.edu>
>Sent by: maxima-bounces at math.utexas.edu
>Date: 08/20/2007 11:30AM
>Subject: max, min for rows and columns?
>
>Hello,
> Is there a function giving the max and min of the rows of a matrix ?
>
>TIA,
> -sen
>
>_______________________________________________
>Maxima mailing list
>Maxima at math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima