You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/02/28 22:58:08 UTC

[jira] [Closed] (FLINK-3996) Add addition, subtraction and multiply by scalar to DenseVector.scala and SparseVector.scala

     [ https://issues.apache.org/jira/browse/FLINK-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-3996.
-----------------------------------
    Resolution: Won't Do

Closing since flink-ml is effectively frozen.

> 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
>
> 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
(v7.6.3#76005)