[
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)