public static boolean decomposeSafe ( DecompositionInterface < ZMatrixRMaj > decomposition , ZMatrixRMaj a ) { if ( decomposition . inputModified ( ) ) { a = a . copy ( ) ; } return decomposition . decompose ( a ) ; }
Decomposes the input matrix a and makes sure it isn t modified .