public List<SDVariable> getVariablesAssociatedWithFunctions(List<DifferentialFunction> functions) {
        List<SDVariable> ret = new ArrayList<>(functions.size());
        for (DifferentialFunction function : functions) {
            ret.addAll(Arrays.asList(function.outputVariables()));
        }

        return ret;
    }
public List<SDVariable> getVariablesAssociatedWithFunctions(List<DifferentialFunction> functions) {
        List<SDVariable> ret = new ArrayList<>(functions.size());
        for (DifferentialFunction function : functions) {
            ret.addAll(Arrays.asList(function.outputVariables()));
        }

        return ret;
    }
public List < SDVariable > getVariablesAssociatedWithFunctions ( List < DifferentialFunction > functions ) { List < SDVariable > ret = new ArrayList <> ( functions . size ( ) ) ; for ( DifferentialFunction function : functions ) { ret . addAll ( Arrays . asList ( function . outputVariables ( ) ) ) ; } return ret ; }
Get the {@link SDVariable}
associated with each function
based on the {@link DifferentialFunction#outputVariables()} ()}

@param functions the functions to get the variables for
@return the list of variables associated with the given {@link DifferentialFunction}
Get the { @link SDVariable } associated with each function based on the { @link DifferentialFunction#outputVariables () } () }