()
| 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() |