Returns a new dense vector backed by the given array. This is a weak reference, the given array should no longer be altered - as it will effect the values of the dense vector. @param array the array to use as the backing of a dense vector @return a Dense Vector that is backed using the given array
(double... array)
| 482 | * @return a Dense Vector that is backed using the given array |
| 483 | */ |
| 484 | public static DenseVector toDenseVec(double... array) |
| 485 | { |
| 486 | return new DenseVector(array); |
| 487 | } |
| 488 | |
| 489 | @Override |
| 490 | public double[] arrayCopy() |
no outgoing calls