- HEIGHT = 0
- CENTER
Copy constructor (deep copy)
Copy assignment (deep copy)
Destructor
Prerequisite
Etymology
A 1-dimensional Dirac delta.
Synopsis
A DiracD is described by a height and a center
The value is:
height (|x-center| == 0.0)
0 (|x-center| != 0.0)
The parameters are enumerated by HEIGHT, CENTER. They have
default values of (1, 0).
Example
DiracDFunction<Double> sf(5.0, 25.0);
sf(25); // = 5.0
Template Type Argument Requirements (T)
Thrown Exceptions
Member Description
enum
Parameter numbers
DiracDParam()
Constructs the DiracD, Defaults:
height=1, center=0.
explicit DiracDParam(const T &height)
DiracDParam(const T &height, const T ¢er)
Could not use default arguments
that worked both with gcc and IRIX
DiracDParam(const DiracDParam<T> &other)
DiracDParam<T> &operator=(const DiracDParam<T> &other)
virtual ~DiracDParam()
virtual uInt ndim() const