MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / sortedCopy

Method sortedCopy

JSAT/src/jsat/linear/DenseVector.java:223–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221
222
223 @Override
224 public DenseVector sortedCopy()
225 {
226 double[] copy = Arrays.copyOfRange(array, startIndex, endIndex);
227
228 Arrays.sort(copy);
229
230 return new DenseVector(copy);
231 }
232
233 @Override
234 public double variance()

Callers 1

sortedCopyMethod · 0.95

Calls 1

sortMethod · 0.45

Tested by

no test coverage detected