incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HAMA-45) Add method's parameter order in a Vector and Matrix interface
Date Fri, 29 Aug 2008 06:12:44 GMT

     [ https://issues.apache.org/jira/browse/HAMA-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HAMA-45:
-------------------------------

    Status: Patch Available  (was: Open)

Rescheduling.

> Add method's parameter order in a Vector and Matrix interface 
> --------------------------------------------------------------
>
>                 Key: HAMA-45
>                 URL: https://issues.apache.org/jira/browse/HAMA-45
>             Project: Hama
>          Issue Type: Improvement
>          Components: interface
>    Affects Versions: 0.1.0
>            Reporter: Suh Changhee 
>            Assignee: Suh Changhee 
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: HAMA-47.patch
>
>
> In a Vector interface and Matrix interface, some "add" method has a little confusing
parameter order.
> -> public Vector add(double alpha, Vector v); 
> Parameter v is a target, alpha is a value.
> I think the target parameter appearing first is more clearer.
>  
> For example, see another "add" method
> -> public void add(int index, double value);
> or "set" method.
> -> public void set(int index, double value);
> Index(target) parameter is first.
>  
> I'm goint to patch it.
>  
> Please advise.

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


Mime
View raw message