Element wise access function
Element wise access function
index of the accessed element
element at the given index
Copies the vector instance
Copies the vector instance
Copy of the vector instance
Array of doubles to store the vector elements
Returns the dot product of the recipient and the argument
Returns the dot product of the recipient and the argument
a Vector
a scalar double of dot product
Magnitude of a vector
Returns the outer product (a.k.a.
Returns the outer product (a.k.a. Kronecker product) of this
with other
. The result will given in org.apache.flink.ml.math.SparseMatrix
representation if other
is sparse and as org.apache.flink.ml.math.DenseMatrix otherwise.
a Vector
the org.apache.flink.ml.math.Matrix which equals the outer product of this
with other.
Number of elements in a vector
Number of elements in a vector
the number of the elements in the vector
Convert to a SparseVector
Convert to a SparseVector
Creates a SparseVector from the DenseVector
Updates the element at the given index with the provided value
Updates the element at the given index with the provided value
Index whose value is updated.
The value used to update the index.
Dense vector implementation of Vector. The data is represented in a continuous array of doubles.
Array of doubles to store the vector elements