MCPcopy Create free account
hub / github.com/Aghajari/MathParser / sum

Method sum

MathParser/src/com/aghajari/math/Functions.java:148–153  ·  view source on GitHub ↗
(Double... a)

Source from the content-addressed store, hash-verified

146 }
147
148 public static double sum(Double... a) {
149 double out = 0;
150 for (double b : a)
151 out += b;
152 return out;
153 }
154
155 public static double average(Double... a) {
156 return avg(a);

Callers 1

avgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected