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

Method min

JSAT/src/jsat/linear/SparseVector.java:327–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 }
326
327 @Override
328 public double min()
329 {
330 if(minCache != null)
331 return minCache;
332 double result = 0;
333 for(int i = 0; i < used; i++)
334 result = Math.min(result, values[i]);
335
336 return (minCache = result);
337 }
338
339 @Override
340 public double max()

Callers 1

insertValueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected