In your case - at least according to the docs I found - you should be able to access those values with DenseVector.values