public static AbstractMatrix getInstance ( int rows , int cols , Class < ? > cls ) { return new AbstractMatrix ( rows , Array . newInstance ( cls , rows * cols ) ) ; }
Returns new DoubleMatrix initialized to zeroes .