Yexi Jiang created HAMA-864: ------------------------------- Summary: Fix the subtractFrom() method of DoubleVector and DenseDoubleVector Key: HAMA-864 URL: https://issues.apache.org/jira/browse/HAMA-864 Project: Hama Issue Type: Bug Components: math Affects Versions: 0.7.0 Reporter: Yexi Jiang Assignee: Yexi Jiang Fix For: 0.6.3
Current implementation subtractFrom(int scalar) is implemented exactly the same as subtract(int scalar). The subtract(int scalar) is implemented as (vector - scalar). However, the subtractFrom should be implemented as (scalar - vector). -- This message was sent by Atlassian JIRA (v6.1.5#6160)