Ticket #1648 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

Add 2-d Chebyshev function to afw math

Reported by: rowen Owned by: rowen
Priority: normal Milestone:
Component: afw Keywords:
Cc: rhl, rowen, bick, cloomis, price Blocked By:
Blocking: Project: LSST
Version Number: 4.3.2.0
How to repeat:

not applicable

Description

Add a 2-dimensional polynomial of type 1 Chebyshev functions to lsst::afw::math: f(x,y) = C0 + C1 T1(x) + C2 T1(y) + C3 T2(x) + C4 T1(x) T1(y) + C5 T2(y) + ... where the order of coefficients is analogous to the existing PolynomialFunction2

Include the ability to retrieve a truncated polynomial of lower order.

Change History

comment:1 Changed 8 years ago by DefaultCC Plugin

  • Cc rhl, rowen, bick, cloomis, price added

comment:2 Changed 8 years ago by rowen

  • Status changed from new to closed
  • Resolution set to fixed

Fixed on trunk as rev21355

Other changes:

  • Added BasePolynomialFunction?, a new base class to simplify adding future polynomials
  • Added methods to retrieve argument limits from the Chebyshev polynomials
  • With K-T's help I simplified serialization by adding protected default constructors

Warning: this commit introduces an ABI change.

Note: See TracTickets for help on using tickets.