1 #ifndef MeasAlgoShapeletLegendre2D_H
2 #define MeasAlgoShapeletLegendre2D_H
19 Legendre2D(
double xMin,
double xMax,
double yMin,
double yMax) :
37 virtual void write(std::ostream& fout)
const;
39 virtual std::auto_ptr<Function2D>
dFdX()
const;
41 virtual std::auto_ptr<Function2D>
dFdY()
const;
43 virtual std::auto_ptr<Function2D>
copy()
const
44 {
return std::auto_ptr<Function2D>(
new Legendre2D(*
this)); }
46 virtual void addLinear(
double a,
double b,
double c);
49 double a,
double b,
double c,
double d,
double e,
double f);
64 int xorder,
int yorder,
const DVector& fvect);
74 int order,
double xy,
double min,
double max)
const;
Legendre2D(double xMin, double xMax, double yMin, double yMax)
Legendre2D(int xo, int yo, const Bounds &b)
virtual void write(std::ostream &fout) const
std::auto_ptr< DMatrix > _coeffs
virtual std::auto_ptr< Function2D > dFdY() const
virtual DVector definePY(int order, double y) const
virtual std::auto_ptr< Function2D > copy() const
Legendre2D(const Legendre2D &rhs)
DVector definePXY(int order, double xy, double min, double max) const
Legendre2D(const Bounds &b)
virtual void addLinear(double a, double b, double c)
virtual void linearPreTransform(double a, double b, double c, double d, double e, double f)
virtual DVector definePX(int order, double x) const
afw::table::Key< double > b
const Bounds & getBounds() const
virtual std::auto_ptr< Function2D > dFdX() const
virtual void operator+=(const Function2D &rhs)
virtual void setFunction(int xorder, int yorder, const DVector &fvect)
Legendre2D(const Bounds &b, const DMatrix &a)