src/utils/matrix/operation/BinaryMatrixOperation.java
public Matrix apply(Matrix first, Matrix second, Matrix result) throws MatrixException {
        this.first = first;
        this.second = second;
        this.result = result;
        applyMatrixOperation();
        return result;
    }
/**
     * Applies matrix operation.
     *
     * @param first first matrix.
     * @param second second matrix.
     * @param result result matrix.
     * @return result matrix.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies matrix operation.

@param first first matrix.
@param second second matrix.
@param result result matrix.
@return result matrix.
@throws MatrixException throws exception if matrix operation fails.
Applies matrix operation . @param first first matrix . @param second second matrix . @param result result matrix . @return result matrix . @throws MatrixException throws exception if matrix operation fails .
public Matrix apply(Matrix first, Matrix second, Matrix result) throws MatrixException {
        this.first = first;
        this.second = second;
        this.result = result;
        applyMatrixOperation();
        return result;
    }
public Matrix apply ( Matrix first , Matrix second , Matrix result ) throws MatrixException { this . first = first ; this . second = second ; this . result = result ; applyMatrixOperation ( ) ; return result ; }
Applies matrix operation.
Applies matrix operation .