src/utils/matrix/operation/MaxPoolMatrixOperation.java
public void apply(Matrix input, HashMap<Integer, Integer> maxPos, Matrix result) throws MatrixException {
        this.input = input;
        this.maxPos = maxPos;
        this.result = result;
        applyMatrixOperation();
    }
/**
     * Applies matrix operation.
     *
     * @param input input matrix.
     * @param maxPos maximum positions.
     * @param result result matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies matrix operation.

@param input input matrix.
@param maxPos maximum positions.
@param result result matrix.
@throws MatrixException throws exception if matrix operation fails.
Applies matrix operation . @param input input matrix . @param maxPos maximum positions . @param result result matrix . @throws MatrixException throws exception if matrix operation fails .
public void apply(Matrix input, HashMap<Integer, Integer> maxPos, Matrix result) throws MatrixException {
        this.input = input;
        this.maxPos = maxPos;
        this.result = result;
        applyMatrixOperation();
    }
public void apply ( Matrix input , HashMap < Integer , Integer > maxPos , Matrix result ) throws MatrixException { this . input = input ; this . maxPos = maxPos ; this . result = result ; applyMatrixOperation ( ) ; }
Applies matrix operation.
Applies matrix operation .