find_min_col_lex

paminco.utils.math.find_min_col_lex(M) int[source]

Find the minimal column of a matrix M lexiographically.

Parameters
Mndarray

Matrix for which to find minimum column.

Returns
mincolint

Index of minimum column in M.