Ted Dunning wrote:
IF Karl missed the assign operations, then others will too. Having his
implementations might help others realize what assign can do.
On 4/14/08 11:39 AM, "Jeff Eastman (JIRA)" <[EMAIL PROTECTED]> wrote:
[
https://issues.apache.org/jira/browse/MAHOUT-39?page=com.atlassian.jira.plugin
.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588694#action_12588
694 ]
Jeff Eastman commented on MAHOUT-39:
------------------------------------
-1
Vector#assign already implements fill(double) functionality. I don't know
exactly what you have in mind for the fill(double, int, int) operator, but
make sure you've looked at all the assign variants before pursuing this.
Finally, copy and like do return the same underlying types as the receiver.
Vector improvments
------------------
Key: MAHOUT-39
URL: https://issues.apache.org/jira/browse/MAHOUT-39
Project: Mahout
Issue Type: Improvement
Reporter: Karl Wettin
Assignee: Karl Wettin
Attachments: MAHOUT-39.txt
* Vector#fill(double)
* Vector#fill(double, int, in)
* implementations of copy() and like() don't return typed subclasses
I agree that the assign semantics might not be apparent to somebody
wanting to fill a vector or matrix. Perhaps we could rename the method
rather than introducing something redundant?
Jeff