Gets the value of the ith element.
Returns a vector in either dense or sparse format, whichever uses less storage.
Makes a deep copy of this vector.
Returns a hash code value for the vector.
index array, assume to be strictly increasing.
Number of active entries.
Number of nonzero elements.
size of the vector.
Converts the instance to a double array.
Converts this vector to a dense vector.
Converts this vector to a sparse vector with all explicit zeros removed.
value array, must have the same length as the index array.