commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DI COSTANZO (Commented) (JIRA)" <>
Subject [jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
Date Mon, 03 Oct 2011 12:24:34 GMT


DI COSTANZO commented on MATH-683:

No. I don't want to modify the "value" method. I just want to add a new "shift" method transforming
the current polynomial defined as an array of coeffcient in increasing 'x' power, by a new
polynomial where 'x' is replaced by 'x+a', a beeing a double value. The signature could be
something like this :

PolynomialFunction shift(final double shift){

So, if the initial polynomial is given by :
P1 = sum(ai * x^i) (i = 0...n)

The new polynomial created by the "shift" method will be :
P2 = sum(ai * (x + a)^i) (i = 0...n)
> Create a method shift in the PolynomialFunction class
> -----------------------------------------------------
>                 Key: MATH-683
>                 URL:
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.0
>         Environment: All
>            Reporter: DI COSTANZO
>            Priority: Trivial
> Create a method shift to transform a polynomial P(k) in P(k + a) where a is any double
> 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:!default.jspa
For more information on JIRA, see:


View raw message