casa
$Rev:20696$
|
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.
casa::GNoiseParam< T >::GNoiseParam | ( | ) |
Constructs the GNoise, Defaults: mean=0, var=1.0.
casa::GNoiseParam< T >::GNoiseParam | ( | const Double & | mean, |
const Double & | var | ||
) |
casa::GNoiseParam< T >::GNoiseParam | ( | const GNoiseParam< T > & | other | ) |
Copy constructor (deep copy)
virtual casa::GNoiseParam< T >::~GNoiseParam | ( | ) | [virtual] |
Destructor.
virtual const String& casa::GNoiseParam< T >::name | ( | ) | const [inline, virtual] |
Give name of function.
Reimplemented from casa::Function< T >.
Definition at line 109 of file GNoiseParam.h.
virtual uInt casa::GNoiseParam< T >::ndim | ( | ) | const [inline, virtual] |
Returns the number of dimensions of function.
Implements casa::Function< T >.
Definition at line 105 of file GNoiseParam.h.
GNoiseParam<T>& casa::GNoiseParam< T >::operator= | ( | const GNoiseParam< T > & | other | ) |
Copy assignment (deep copy)
ACG casa::GNoiseParam< T >::genit_p [protected] |
Random generator.
Definition at line 115 of file GNoiseParam.h.
Normal casa::GNoiseParam< T >::noise_p [mutable, protected] |
Normal noise.
Definition at line 117 of file GNoiseParam.h.