You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Dmitriy Lyubimov (JIRA)" <ji...@apache.org> on 2015/06/17 21:01:00 UTC
[jira] [Resolved] (MAHOUT-1725) elementwise power operator ^
[ https://issues.apache.org/jira/browse/MAHOUT-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Lyubimov resolved MAHOUT-1725.
--------------------------------------
Resolution: Fixed
> elementwise power operator ^
> ----------------------------
>
> Key: MAHOUT-1725
> URL: https://issues.apache.org/jira/browse/MAHOUT-1725
> Project: Mahout
> Issue Type: Improvement
> Reporter: Dmitriy Lyubimov
> Assignee: Dmitriy Lyubimov
> Fix For: 0.10.2
>
>
> this is a power elementwise operation on in-core and out-of-core tensor types. it is only defined on (tensor-type, Double) pair. This is consistent with R caret operator.
> e.g. computing distance between two points(vectors) x and y:
> sqrt((x-y) ^= 2 sum)
> Danger is that for integral types in Scala interpret this as exclusive or, which is something completely different altogether .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)