toArray method

List<double> toArray()

Returns a copy of the vector as a list of doubles; changing the list does not change the vector.

Implementation

List<double> toArray() => List<double>.of(_values);