[ https://issues.apache.org/jira/browse/FLINK-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Hogan updated FLINK-3996: ------------------------------ Component/s: Machine Learning Library > 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: Machine Learning Library > Reporter: Daniel Blazevski > Assignee: Daniel Blazevski > Priority: Minor > > 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 (v6.3.4#6332)