src/utils/matrix/MMatrix.java
public MMatrix split(int position, boolean splitVertically) throws MatrixException {
        MMatrix splitMMatrix = new MMatrix(getDepth());
        for (Integer index : matrices.keySet()) {
            splitMMatrix.put(index, matrices.get(index).split(position, splitVertically));
        }
        return splitMMatrix;
    }
/**
     * Splits matrix at defined position. If splitVertical is true splits vertically otherwise horizontally.
     *
     * @param position position of split
     * @param splitVertically if true splits vertically otherwise horizontally.
     * @return splitted matrix as JMatrix.
     * @throws MatrixException throws matrix exception if splitting fails.
     */
Splits matrix at defined position. If splitVertical is true splits vertically otherwise horizontally.
@param position position of split
@param splitVertically if true splits vertically otherwise horizontally.
@return splitted matrix as JMatrix.
@throws MatrixException throws matrix exception if splitting fails.
Splits matrix at defined position . If splitVertical is true splits vertically otherwise horizontally . @param position position of split @param splitVertically if true splits vertically otherwise horizontally . @return splitted matrix as JMatrix . @throws MatrixException throws matrix exception if splitting fails .
public MMatrix split(int position, boolean splitVertically) throws MatrixException {
        MMatrix splitMMatrix = new MMatrix(getDepth());
        for (Integer index : matrices.keySet()) {
            splitMMatrix.put(index, matrices.get(index).split(position, splitVertically));
        }
        return splitMMatrix;
    }
public MMatrix split ( int position , boolean splitVertically ) throws MatrixException { MMatrix splitMMatrix = new MMatrix ( getDepth ( ) ) ; for ( Integer index : matrices . keySet ( ) ) { splitMMatrix . put ( index , matrices . get ( index ) . split ( position , splitVertically ) ) ; } return splitMMatrix ; }
Splits matrix at defined position.
Splits matrix at defined position .