commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Brisard (Commented) (JIRA) <>
Subject [jira] [Commented] (MATH-683) Create a method shift in the PolynomialFunction class
Date Mon, 03 Oct 2011 12:48:33 GMT


Sébastien Brisard commented on MATH-683:

I think you might want to specify whether or not you would like at some point to be able to
retrieve the coefficients of {{P2}}. In other words, do you need {{P2}} to be a {{PolynomialFunction}}
or do you merely need to be able to compose {{P1}} and a shifter, which would return {{P2}}
as a {{UnivariateRealFunction}}, e.g
final PolynomialFunction p1 = PolynomialsUtils.createLegendrePolynomial(10);
final double a = 1.;
UnivariateRealFunction p2 = new UnivariateRealFunction(){
  public double value(final double x){
    return p1.value(x+a);
I suspect the answer is the first option, since you also requested for the Pascale Triangle...
> 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