LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_CHEBYMAP_H
23 #define ASTSHIM_CHEBYMAP_H
165 :
Mapping(reinterpret_cast<AstMapping *>(
166 _makeRawChebyMap(coeff_f, coeff_i, lbnd_f, ubnd_f, lbnd_i, ubnd_i, options))) {}
186 :
Mapping(reinterpret_cast<AstMapping *>(
187 _makeRawChebyMap(coeff_f, nout, lbnd_f, ubnd_f, options))) {}
304 ChebyMap polyTran(
bool forward,
double acc,
double maxacc,
int maxorder)
const;
308 return copyImpl<ChebyMap, AstChebyMap>();
ChebyDomain(std::vector< double > const &lbnd, std::vector< double > const &ubnd)
Construct a ChebyDomain.
An abstract base class for objects which transform one set of coordinates to another.
std::shared_ptr< ChebyMap > copy() const
Return a deep copy of this object.
Abstract base class for all AST objects.
std::vector< double > const ubnd
upper bound of domain (one element per axis)
ChebyMap 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 ChebyMap which is a copy of this one, in which a specified transformation...
ChebyMap(ChebyMap &&)=default
ChebyMap & operator=(ChebyMap &&)=default
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
ChebyMap(ChebyMap const &)=default
Copy constructor: make a deep copy.
A ChebyMap is a form of Mapping which performs a Chebyshev polynomial transformation.
AST wrapper classes and functions.
ChebyDomain getDomain(bool forward) const
Return the bounding box of the domain of a ChebyMap.
ChebyMap(ConstArray2D const &coeff_f, ConstArray2D const &coeff_i, std::vector< double > const &lbnd_f, std::vector< double > const &ubnd_f, std::vector< double > const &lbnd_i, std::vector< double > const &ubnd_i, std::string const &options="")
Construct a ChebyMap with a specified forward and/or inverse transforms.
ChebyMap & operator=(ChebyMap const &)=delete
The domain over which a Chebyshev polynomial is defined; returned by ChebyMap.getDomain.
std::vector< double > const lbnd
lower bound of domain (one element per axis)
ndarray::Array< const double, 2, 2 > ConstArray2D
2D array of const double; typically used for lists of const points
ChebyMap(ConstArray2D const &coeff_f, int nout, std::vector< double > const &lbnd_f, std::vector< double > const &ubnd_f, std::string const &options="IterInverse=0")
Construct a ChebyMap with only the forward transform specified.