[
https://issues.apache.org/jira/browse/FLINK-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-3996:
----------------------------------
Labels: pull-request-available (was: )
> Add addition, subtraction and multiply by scalar to DenseVector.scala and
> SparseVector.scala
> --------------------------------------------------------------------------------------------
>
> Key: FLINK-3996
> URL: https://issues.apache.org/jira/browse/FLINK-3996
> Project: Flink
> Issue Type: Improvement
> Components: Library / Machine Learning
> Reporter: Daniel Blazevski
> Assignee: Daniel Blazevski
> Priority: Minor
> Labels: pull-request-available
>
> Small change to add vector operations. With this small change, can now do
> things like:
> val v1 = DenseVector(0.1, 0.1)
> val v2 = DenseVector(0.2, 0.2)
> val v3 = v1 + v2
> instead of what is now has to be done:
> val v1 = DenseVector(0.1, 0.1)
> val v2 = DenseVector(0.2, 0.2)
> val v3 = (v1.asBreeze + v2.asBreeze).fromBreeze
--
This message was sent by Atlassian Jira
(v8.3.4#803005)