Incorrect javadoc for RealVector subtract method
------------------------------------------------

                 Key: MATH-399
                 URL: https://issues.apache.org/jira/browse/MATH-399
             Project: Commons Math
          Issue Type: Bug
            Reporter: Julien Ruiz
            Priority: Minor


subtract method decription is :

069         * Compute this minus v.
070         * @param v vector to be subtracted
071         * @return this + v
072         * @throws IllegalArgumentException if v is not the same size as this
073         */
(...)
080         * @return this + v

Should be : return this - v

Besides, method might be renamed to substract .

-- 
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