src/utils/matrix/AbstractMatrix.java
public Matrix averagePool() throws MatrixException {
        Matrix result = getNewMatrix(getRows() - getFilterRowSize() + 1, getColumns() - getFilterColumnSize() + 1);
        averagePool(result);
        return result;
    }
/**
     * Calculates average pooling operation for this matrix.
     *
     * @return result matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Calculates average pooling operation for this matrix.

@return result matrix.
@throws MatrixException throws exception if matrix operation fails.
Calculates average pooling operation for this matrix . @return result matrix . @throws MatrixException throws exception if matrix operation fails .
public Matrix averagePool() throws MatrixException {
        Matrix result = getNewMatrix(getRows() - getFilterRowSize() + 1, getColumns() - getFilterColumnSize() + 1);
        averagePool(result);
        return result;
    }
public Matrix averagePool ( ) throws MatrixException { Matrix result = getNewMatrix ( getRows ( ) - getFilterRowSize ( ) + 1 , getColumns ( ) - getFilterColumnSize ( ) + 1 ) ; averagePool ( result ) ; return result ; }
Calculates average pooling operation for this matrix.
Calculates average pooling operation for this matrix .