LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_POLYMAP_H
23 #define ASTSHIM_POLYMAP_H
101 :
Mapping(reinterpret_cast<AstMapping *>(_makeRawPolyMap(coeff_f, coeff_i, options))) {}
127 :
Mapping(reinterpret_cast<AstMapping *>(_makeRawPolyMap(coeff_f, nout, options))) {}
237 return copyImpl<PolyMap, AstPolyMap>();
bool getB(std::string const &attrib) const
Get the value of an attribute as a bool.
std::shared_ptr< PolyMap > copy() const
Return a deep copy of this object.
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
An abstract base class for objects which transform one set of coordinates to another.
double getTolInverse() const
Get TolInverse: target relative error for iterative inverse.
Abstract base class for all AST objects.
PolyMap & operator=(PolyMap &&)=default
PolyMap(ConstArray2D const &coeff_f, ConstArray2D const &coeff_i, std::string const &options="IterInverse=0")
Construct a PolyMap with specified forward and/or inverse transforms.
PolyMap is a Mapping which performs a general polynomial transformation.
int getI(std::string const &attrib) const
Get the value of an attribute as an int.
PolyMap polyTran(bool forward, double acc, double maxacc, int maxorder, std::vector< double > const &lbnd, std::vector< double > const &ubnd) const
This function creates a new PolyMap which is a copy of this one, in which a specified transformation ...
int getNIterInverse() const
Get NIterInverse: maximum number of iterations for iterative inverse.
PolyMap(ConstArray2D const &coeff_f, int nout, std::string const &options="IterInverse=0")
Construct a PolyMap with only the forward transform specified.
PolyMap(PolyMap const &)=default
Copy constructor: make a deep copy.
PolyMap(PolyMap &&)=default
AST wrapper classes and functions.
double getD(std::string const &attrib) const
Get the value of an attribute as a double.
bool getIterInverse() const
Get IterInverse: does this provide an iterative inverse transformation?
PolyMap & operator=(PolyMap const &)=delete
ndarray::Array< const double, 2, 2 > ConstArray2D
2D array of const double; typically used for lists of const points