public SDVariable replaceWhere(String name, SDVariable update, Number value, Condition condition) {
        SDVariable ret = f().replaceWhere(update, value, condition);
        return updateVariableNameAndReference(ret, name);
    }
public SDVariable replaceWhere ( String name , SDVariable update , Number value , Condition condition ) { SDVariable ret = f ( ) . replaceWhere ( update , value , condition ) ; return updateVariableNameAndReference ( ret , name ) ; }
Element-wise replace where condition:<br>
out[i] = value if condition(update[i]) is satisfied, or<br>
out[i] = update[i] if condition(update[i]) is NOT satisfied

@param name      Name of the output variable
@param update    Source array
@param value     Value to set at the output, if the condition is satisfied
@param condition Condition to check on update array elements
@return New array with values replaced where condition is satisfied