Returns a copy of this array with the values moved around so that they are in sorted order @return a new array in sorted order
()
| 420 | * @return a new array in sorted order |
| 421 | */ |
| 422 | public Vec sortedCopy() |
| 423 | { |
| 424 | double[] arrayCopy = arrayCopy(); |
| 425 | Arrays.sort(arrayCopy); |
| 426 | return new DenseVector(arrayCopy); |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * Returns the minimum value stored in this vector |