MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / max

Method max

ij/src/main/java/ij/util/ArrayUtil.java:211–214  ·  view source on GitHub ↗
(double[] arr)

Source from the content-addressed store, hash-verified

209 }
210
211 @AstroImageJ(reason = "Avoid instance creation")
212 public static double max(double[] arr) {
213 return Arrays.stream(arr).filter(d -> !Double.isNaN(d)).max().orElse(Double.NaN);
214 }
215}

Callers 15

evaluateStackForRadiiMethod · 0.95
processStackMethod · 0.95
tableMethod · 0.95
d2sMethod · 0.45
ExecuterMethod · 0.45
makeInvertedCompositeMethod · 0.45
MacroRunnerMethod · 0.45
runMethod · 0.45
runShortcutMethod · 0.45
doMathMethod · 0.45
math2Method · 0.45
belowErrorLimitMethod · 0.45

Calls 1

filterMethod · 0.45

Tested by 2

checkMethod · 0.36
testCollectionMethod · 0.36