src/utils/matrix/AbstractMatrix.java
public Matrix cyclicPool(HashMap<Integer, Integer> inputPos) throws MatrixException {
        Matrix result = getNewMatrix(getRows() - getFilterRowSize() + 1, getColumns() - getFilterColumnSize() + 1);
        cyclicPool(result, inputPos);
        return result;
    }
/**
     * Calculates cyclic pooling operation for this matrix.
     *
     * @param inputPos input positions for each row and col value.
     * @return result matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Calculates cyclic pooling operation for this matrix.

@param inputPos input positions for each row and col value.
@return result matrix.
@throws MatrixException throws exception if matrix operation fails.
Calculates cyclic pooling operation for this matrix . @param inputPos input positions for each row and col value . @return result matrix . @throws MatrixException throws exception if matrix operation fails .
public Matrix cyclicPool(HashMap<Integer, Integer> inputPos) throws MatrixException {
        Matrix result = getNewMatrix(getRows() - getFilterRowSize() + 1, getColumns() - getFilterColumnSize() + 1);
        cyclicPool(result, inputPos);
        return result;
    }
public Matrix cyclicPool ( HashMap < Integer , Integer > inputPos ) throws MatrixException { Matrix result = getNewMatrix ( getRows ( ) - getFilterRowSize ( ) + 1 , getColumns ( ) - getFilterColumnSize ( ) + 1 ) ; cyclicPool ( result , inputPos ) ; return result ; }
Calculates cyclic pooling operation for this matrix.
Calculates cyclic pooling operation for this matrix .