isPartialASM M
Given an integer matrix, checks that the matrix is a partial alternating sign matrix. A partial alternating sign matrix is a matrix with entries in $\{-1,0,1\}$ such that:
- The nonzero entries in each row and column alternate in sign,
- The first nonzero entry of any row or column (if there is one) is $1$.
|
|
|
|
The object isPartialASM is a method function.