src/utils/matrix/AbstractMatrix.java
public void applyBi(Matrix other, Matrix result, BinaryFunction binaryFunction) throws MatrixException {
        if (!hasProcedureFactory() && !other.hasProcedureFactory()) applyBi(other, result, binaryFunction.getFunction());
        else {
            synchronizeProcedureFactory(other);
            result.setProcedureFactory(procedureFactory);
            double expressionLock = procedureFactory.startExpression(this);
            applyBi(other, result, binaryFunction.getFunction());
            procedureFactory.createBinaryFunctionExpression(expressionLock, this, other, result, binaryFunction);
        }
    }
/**
     * Applies two variable operation to this matrix.<br>
     * Example of operation can be subtraction of other matrix from this matrix.<br>
     * Applies masking element wise if either matrix is masked.<br>
     *
     * @param other other matrix
     * @param result result matrix.
     * @param binaryFunction binaryFunction to be applied.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Applies two variable operation to this matrix.
Example of operation can be subtraction of other matrix from this matrix.
Applies masking element wise if either matrix is masked.

@param other other matrix
@param result result matrix.
@param binaryFunction binaryFunction to be applied.
@throws MatrixException throws exception if matrix operation fails.
Applies two variable operation to this matrix . Example of operation can be subtraction of other matrix from this matrix . Applies masking element wise if either matrix is masked . @param other other matrix @param result result matrix . @param binaryFunction binaryFunction to be applied . @throws MatrixException throws exception if matrix operation fails .
public void applyBi(Matrix other, Matrix result, BinaryFunction binaryFunction) throws MatrixException {
        if (!hasProcedureFactory() && !other.hasProcedureFactory()) applyBi(other, result, binaryFunction.getFunction());
        else {
            synchronizeProcedureFactory(other);
            result.setProcedureFactory(procedureFactory);
            double expressionLock = procedureFactory.startExpression(this);
            applyBi(other, result, binaryFunction.getFunction());
            procedureFactory.createBinaryFunctionExpression(expressionLock, this, other, result, binaryFunction);
        }
    }
public void applyBi ( Matrix other , Matrix result , BinaryFunction binaryFunction ) throws MatrixException { if ( ! hasProcedureFactory ( ) && ! other . hasProcedureFactory ( ) ) applyBi ( other , result , binaryFunction . getFunction ( ) ) ; else { synchronizeProcedureFactory ( other ) ; result . setProcedureFactory ( procedureFactory ) ; double expressionLock = procedureFactory . startExpression ( this ) ; applyBi ( other , result , binaryFunction . getFunction ( ) ) ; procedureFactory . createBinaryFunctionExpression ( expressionLock , this , other , result , binaryFunction ) ; } }
Applies two variable operation to this matrix.<br>
 Example of operation can be subtraction of other matrix from this matrix.<br>
 Applies masking element wise if either matrix is masked.<br>
Applies two variable operation to this matrix . <br > Example of operation can be subtraction of other matrix from this matrix . <br > Applies masking element wise if either matrix is masked . <br >