src/utils/procedure/expression/SumExpression.java
public void calculateExpression() throws MatrixException {
        if (!executeAsSingleStep()) return;
        if (argument1.getMatrices() == null) throw new MatrixException(getExpressionName() + ": Arguments for operation not defined");
        Matrix sum = argument1.getMatrices().sum();
        result.setMatrix(sum);
    }
/**
     * Calculates expression.
     *
     * @throws MatrixException throws exception if calculation fails.
     */
Calculates expression.
@throws MatrixException throws exception if calculation fails.
Calculates expression . @throws MatrixException throws exception if calculation fails .
public void calculateExpression() throws MatrixException {
        if (!executeAsSingleStep()) return;
        if (argument1.getMatrices() == null) throw new MatrixException(getExpressionName() + ": Arguments for operation not defined");
        Matrix sum = argument1.getMatrices().sum();
        result.setMatrix(sum);
    }
public void calculateExpression ( ) throws MatrixException { if ( ! executeAsSingleStep ( ) ) return ; if ( argument1 . getMatrices ( ) == null ) throw new MatrixException ( getExpressionName ( ) + ": Arguments for operation not defined" ) ; Matrix sum = argument1 . getMatrices ( ) . sum ( ) ; result . setMatrix ( sum ) ; }
Calculates expression.
Calculates expression .