MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / max

Method max

JSAT/src/jsat/math/MathTricks.java:24–30  ·  view source on GitHub ↗

@param vals an array of values to get the maximum of @return the maximum of all given values

(double... vals)

Source from the content-addressed store, hash-verified

22 * @return the maximum of all given values
23 */
24 public static double max(double... vals)
25 {
26 double m = Double.NEGATIVE_INFINITY;
27 for(double v : vals)
28 m = Math.max(v, m);
29 return m;
30 }
31
32 /**
33 *

Callers 11

softmaxMethod · 0.95
invGammaPMethod · 0.45
addMethod · 0.45
iterationStepMethod · 0.45
gradConvgHelperMethod · 0.45
gradConvgHelperMethod · 0.45
lineSearchMethod · 0.45
optimizeMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected