commons-statistics-regression/src/main/java/org/apache/commons/statistics/regression/util/matrix/StatisticsMatrix.java
/**
     * Returns a matrix of StatisticsMatrix type so that SimpleMatrix functions
     * create matrices of the correct type.
     */
Returns a matrix of StatisticsMatrix type so that SimpleMatrix functions
create matrices of the correct type.
Returns a matrix of StatisticsMatrix type so that SimpleMatrix functions create matrices of the correct type .
@Override
    protected StatisticsMatrix createMatrix(int numRows, int numCols, MatrixType type) {
        return new StatisticsMatrix(numRows, numCols);
    }
@ Override protected StatisticsMatrix createMatrix ( int numRows , int numCols , MatrixType type ) { return new StatisticsMatrix ( numRows , numCols ) ; }
Returns a matrix of StatisticsMatrix type so that SimpleMatrix functions
 create matrices of the correct type.
Returns a matrix of StatisticsMatrix type so that SimpleMatrix functions create matrices of the correct type .
// changed by Ben Nguyen to add MatrixType type param to satisfy abstract method