Template Class Function1¶
Defined in File Function.h
Inheritance Relationships¶
Base Types¶
public lsst::afw::table::io::PersistableFacade< Function1< ReturnT > >
(Template Class PersistableFacade)public lsst::afw::math::Function< ReturnT >
(Template Class Function)
Derived Types¶
public lsst::afw::math::Chebyshev1Function1< ReturnT >
(Template Class Chebyshev1Function1)public lsst::afw::math::GaussianFunction1< ReturnT >
(Template Class GaussianFunction1)public lsst::afw::math::IntegerDeltaFunction1< ReturnT >
(Template Class IntegerDeltaFunction1)public lsst::afw::math::LanczosFunction1< ReturnT >
(Template Class LanczosFunction1)public lsst::afw::math::NullFunction1< ReturnT >
(Template Class NullFunction1)public lsst::afw::math::PolynomialFunction1< ReturnT >
(Template Class PolynomialFunction1)
Class Documentation¶
-
template<typename
ReturnT
>
classFunction1
: public lsst::afw::table::io::PersistableFacade<Function1<ReturnT>>, public lsst::afw::math::Function<ReturnT>¶ A Function taking one argument.
Subclass and override operator() to do useful work.
Subclassed by lsst::afw::math::Chebyshev1Function1< ReturnT >, lsst::afw::math::GaussianFunction1< ReturnT >, lsst::afw::math::IntegerDeltaFunction1< ReturnT >, lsst::afw::math::LanczosFunction1< ReturnT >, lsst::afw::math::NullFunction1< ReturnT >, lsst::afw::math::PolynomialFunction1< ReturnT >
Public Functions
-
Function1
(unsigned int nParams)¶ - Parameters
nParams
: number of function parameters
Construct a Function1 given the number of function parameters.
The function parameters are initialized to 0.
-
Function1
(std::vector<double> const ¶ms)¶ - Parameters
params
: function parameters
Construct a Function1 given the function parameters.
-
Function1 &
operator=
(Function1 const&)¶
-
Function1 &
operator=
(Function1&&)¶
-
~Function1
()¶
-
virtual std::shared_ptr<Function1<ReturnT>>
clone
() const = 0¶ Return a pointer to a deep copy of this function
This function exists instead of a copy constructor so one can obtain a copy of an actual function instead of a useless copy of the base class.
Every concrete subclass must override this method.
- Return
a pointer to a deep copy of the function
-
virtual ReturnT
operator()
(double x) const = 0¶
-
std::string
toString
(std::string const& = "") const¶ Return a string representation of the function
- Return
a string representation of the function
-
virtual void
computeCache
(int const n)¶
Protected Functions
-
Function1
()¶
-