- getData
Returns vector entries as a double array.
- add
Compute the sum of this and v.
- copy
Returns a (deep) copy of this.
- dotProduct
Compute the dot product.
- getDimension
Returns the size of the vector.
- getEntry
Returns the entry in the specified index. The index start at 0 and must be
lesser than the size, oth
- getNorm
Returns the L2 norm of the vector.The L2 norm is the root of the sum of the squared elements.
- isNaN
Returns true if any coordinate of this vector is NaN; false otherwise
- mapMultiply
Map a multiplication operation to each entry.
- setEntry
Set a single element.
- sparseIterator
Specialized implementations may choose to not iterate over all dimensions,
either because those valu
- subtract
Compute this minus v.