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
.
2 | No.2 Revision |
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
.