public static BMatrixRMaj randomBinary ( int numRow , int numCol , Random rand ) { BMatrixRMaj mat = new BMatrixRMaj ( numRow , numCol ) ; setRandomB ( mat , rand ) ; return mat ; }
Returns new boolean matrix with true or false values selected with equal probability .