A one dimensional normal distribution. More...
#include <GNoiseParam.h>
Public Member Functions | |
| GNoiseParam () | |
| Constructs the GNoise, Defaults: mean=0, var=1.0. | |
| GNoiseParam (const Double &mean, const Double &var) | |
| GNoiseParam (const GNoiseParam< T > &other) | |
| Copy constructor (deep copy). | |
| GNoiseParam< T > & | operator= (const GNoiseParam< T > &other) |
| Copy assignment (deep copy). | |
| virtual | ~GNoiseParam () |
| Destructor. | |
| virtual uInt | ndim () const |
| Returns the number of dimensions of function. | |
| virtual const String & | name () const |
| Give name of function. | |
Protected Attributes | |
| ACG | genit_p |
| Random generator. | |
| Normal | noise_p |
| Normal noise. | |
A one dimensional normal distribution.
Internal
Gaussian Noise generator.
A GNoise is described by a mean and a variance (Note these are not parameters in the Function sense, but more like the order of a polynomial. The defaults are 0 and 1.
GNoiseFunction<Double> sf;
sf(); // = 0.12
Definition at line 80 of file GNoiseParam.h.
| casacore::GNoiseParam< T >::GNoiseParam | ( | ) |
Constructs the GNoise, Defaults: mean=0, var=1.0.
| casacore::GNoiseParam< T >::GNoiseParam | ( | const Double & | mean, | |
| const Double & | var | |||
| ) |
| casacore::GNoiseParam< T >::GNoiseParam | ( | const GNoiseParam< T > & | other | ) |
Copy constructor (deep copy).
| virtual casacore::GNoiseParam< T >::~GNoiseParam | ( | ) | [virtual] |
Destructor.
| virtual const String& casacore::GNoiseParam< T >::name | ( | ) | const [inline, virtual] |
Give name of function.
Reimplemented from casacore::Function< T >.
Definition at line 109 of file GNoiseParam.h.
| virtual uInt casacore::GNoiseParam< T >::ndim | ( | ) | const [inline, virtual] |
Returns the number of dimensions of function.
Implements casacore::Function< T >.
Definition at line 105 of file GNoiseParam.h.
| GNoiseParam<T>& casacore::GNoiseParam< T >::operator= | ( | const GNoiseParam< T > & | other | ) |
Copy assignment (deep copy).
Reimplemented in casacore::GNoiseFunction< T >.
ACG casacore::GNoiseParam< T >::genit_p [protected] |
Random generator.
Definition at line 115 of file GNoiseParam.h.
Normal casacore::GNoiseParam< T >::noise_p [mutable, protected] |
Normal noise.
Definition at line 117 of file GNoiseParam.h.
1.6.1