maskAmPrimary

returns a mask indicating where primary solutions live in the Am matrix.


Discussion

Returns a ‘mask’ (matrix with 1s or 0s) indicating where primary solutions live in the Am matrix.