get max index for each row and convert into linear index

RowToLinear(MM, nbi, nbj)

Arguments

MM

numeric.

nbi

numeric.

nbj

numeric.

Value

MaxCont