[ 
https://issues.apache.org/jira/browse/MAHOUT-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590766#action_12590766
 ] 

julien nioche commented on MAHOUT-44:
-------------------------------------

I think the existing tests in TestSparseVector (testDot and testZSum) cover 
that already.

> Override zSum and dot for SparseVector
> --------------------------------------
>
>                 Key: MAHOUT-44
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-44
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Matrix
>    Affects Versions: 0.1
>            Reporter: julien nioche
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.1
>
>         Attachments: SparseVector.diff
>
>
> revision 649163
> The patch attached overrides the zSum() and dot() methods in SparseVector. 
> This is more efficient than relying on the methods from AbstractVector which 
> iterate on all the indices of the Vectors. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to