Template Class IntegerDeltaFunction1¶
Defined in File FunctionLibrary.h
Inheritance Relationships¶
Base Type¶
public lsst::afw::math::Function1< ReturnT >
(Template Class Function1)
Class Documentation¶
-
template<typename
ReturnT
>
classIntegerDeltaFunction1
: public lsst::afw::math::Function1<ReturnT>¶ 1-dimensional integer delta function.
f(x) = 1 if x == xo, 0 otherwise.
For use as a kernel function be sure to handle the offset for row and column center; see examples/deltaFunctionKernel for an example.
Public Functions
-
IntegerDeltaFunction1
(double xo)¶ Construct an integer delta function with specified xo
-
IntegerDeltaFunction1
(IntegerDeltaFunction1 const&)¶
-
IntegerDeltaFunction1
(IntegerDeltaFunction1&&)¶
-
IntegerDeltaFunction1 &
operator=
(IntegerDeltaFunction1 const&)¶
-
IntegerDeltaFunction1 &
operator=
(IntegerDeltaFunction1&&)¶
-
~IntegerDeltaFunction1
()¶
-
std::shared_ptr<Function1<ReturnT>>
clone
() const¶ 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
-
ReturnT
operator()
(double x) const¶
-
std::string
toString
(std::string const& = "") const¶ Return a string representation of the function
- Return
a string representation of the function
Protected Functions
-
IntegerDeltaFunction1
()¶
-