You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "DI COSTANZO (Updated) (JIRA)" <ji...@apache.org> on 2011/10/06 11:54:29 UTC

[jira] [Updated] (MATH-683) Create a method shift in the PolynomialFunction class

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

DI COSTANZO updated MATH-683:
-----------------------------

    Attachment: PolynomialsUtilsTest.java
                PolynomialsUtils.java

Hello,

Here is the code for the shift method described above, and its associated test. As wanted, I add this functionnality in the PolynomailsUtils class.
Romain
                
> Create a method shift in the PolynomialFunction class
> -----------------------------------------------------
>
>                 Key: MATH-683
>                 URL: https://issues.apache.org/jira/browse/MATH-683
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.0
>         Environment: All
>            Reporter: DI COSTANZO
>            Priority: Trivial
>         Attachments: PolynomialsUtils.java, PolynomialsUtilsTest.java
>
>
> Create a method shift to transform a polynomial P(k) in P(k + a) where a is any double value.
> The polynomial sum(ai * k^i) turns into sum(ai * (k+a)^i)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira