Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

Say A is a matrix. It seems that min(A) just returns the "minimum row" ordered lexicographically, which may not necessarily contain the minimum entry.

You can use the A's list function to get a list of its entries and then take the minimum over that, so min(A.list()) gets the minimum entry of A.

Hi,

Say A is a matrix. It seems that min(A) just returns the "minimum row" ordered lexicographically, which may not necessarily contain the minimum entry.

You can use the A's list function to get a list of its entries and then take the minimum over that, so min(A.list()) gets the minimum entry of A.