src/utils/procedure/expression/SumExpression.java
public void calculateGradient() throws MatrixException {
        if (!executeAsSingleStep()) return;
        if (result.getGradient() == null) throw new MatrixException(getExpressionName() + ": Result gradient not defined.");
        for (Integer index : argument1.keySet()) argument1.cumulateGradient(index, result.getGradient(), false);
    }
/**
     * Calculates gradient of expression.
     *
     * @throws MatrixException throws exception if calculation fails.
     */
Calculates gradient of expression.
@throws MatrixException throws exception if calculation fails.
Calculates gradient of expression . @throws MatrixException throws exception if calculation fails .
public void calculateGradient() throws MatrixException {
        if (!executeAsSingleStep()) return;
        if (result.getGradient() == null) throw new MatrixException(getExpressionName() + ": Result gradient not defined.");
        for (Integer index : argument1.keySet()) argument1.cumulateGradient(index, result.getGradient(), false);
    }
public void calculateGradient ( ) throws MatrixException { if ( ! executeAsSingleStep ( ) ) return ; if ( result . getGradient ( ) == null ) throw new MatrixException ( getExpressionName ( ) + ": Result gradient not defined." ) ; for ( Integer index : argument1 . keySet ( ) ) argument1 . cumulateGradient ( index , result . getGradient ( ) , false ) ; }
Calculates gradient of expression.
Calculates gradient of expression .