Dmitriy Lyubimov created MAHOUT-1728:
----------------------------------------

             Summary: in-core functional assignments
                 Key: MAHOUT-1728
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1728
             Project: Mahout
          Issue Type: Improvement
            Reporter: Dmitriy Lyubimov
            Assignee: Dmitriy Lyubimov
             Fix For: 0.10.2


in-core functional assignments (for vector and matrices) 

mxA := { (x) => x * x} 
mxA := { (row, col, x} => ... }
mxA ::={ (x) => ... }
mxA ::={ (row, col, x} => ...}
vec := { (x) => ...}
vec :={ (idx, x) => ..}
vec ::= { (x) => ...}
vec ::={ (ind, x) => ...}

the `:=` assignmentn applies the function to all elements of tensor. 
the `::=` assignment ignores zero elements of the tensor to improve 
performance. 

matrix functions iterations use matrix structural flavor to optimize traversal.

further examples.

mxA := exp _ (in-place exponent)

v := abs _



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to