public Matrix copy() { Matrix X = new Matrix(m, n); System.arraycopy(A, 0, X.A, 0, A.length); return X; }
Regards,Earl