- <init>
Copy constructor -- creates a deep copy of the input sparse vector.
- assertDimensionalityEquals
- assertSameDimensionality
- checkBounds
Helper that checks that i is within the bounds of this array. Throws an
ArrayIndexOutOfBoundsExcepti
- clear
Package-private helper that clears the contents of this vector
- compress
The compressed representation should allow for quicker mathematical operations,
but does not permit
- countNonZeros
- decompress
The compressed representation should allow for quicker mathematical operations,
but does not permit
- dotProduct
- euclideanDistanceSquared
- get
- getDimensionality