Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1725

elementwise power operator ^

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.2
    • None
    • None

    Description

      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 .

      Attachments

        Activity

          People

            dlyubimov Dmitriy Lyubimov
            dlyubimov Dmitriy Lyubimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: