(Double... a)
| 157 | } |
| 158 | |
| 159 | public static double avg(Double... a) { |
| 160 | return sum(a) / a.length; |
| 161 | } |
| 162 | |
| 163 | public static double sigma(MathParser parser, String variableName, String exp, double from, double to) throws MathParserException { |
| 164 | return sigma(parser, variableName, exp, from, to, 1.0); |