![]() |
imate
C++/CUDA Reference
|
Defines the integral of the normal probability density function by. More...
#include <gaussian_int.h>


Public Member Functions | |
| GaussianInt (double mu_, double sigma_) | |
Sets the default for the parameter mu to 0.0 and for the parameter sigma to 1.0. | |
| virtual float | function (const float lambda_) const |
| virtual double | function (const double lambda_) const |
| virtual long double | function (const long double lambda_) const |
Public Member Functions inherited from Function | |
| virtual | ~Function () |
| Default virtual destructor. | |
Public Attributes | |
| double | mu |
| double | sigma |
Defines the integral of the normal probability density function by.
\[ f: \lambda \mapsto \frac{1}{2} \operatorname{erf} \left(\frac{x}{\sqrt{2}} \right), \]
where
\[ x = \frac{\lambda - \mu}{\sigma}, \]
and \( \mu \) and \( \sigma \) parameters are the mean and standard deviation of the Gaussian function and should be set by this->mu and this->sigma members, respectively. This function essentialy defines the cumulative distribution function of the normal distribution.
The matrix function \( f: \mathbb{R}^{n \times n} \to \mathbb{R}^{n \times n} \) is used in
\[ \mathrm{trace} \left( f(\mathbf{A}) \right). \]
However, instead of a matrix function, the equivalent scalar function \( f: \mathbb{R} \to \mathbb{R} \) is defiend which acts on the eigenvalues of the matrix.
Definition at line 53 of file gaussian_int.h.
| GaussianInt::GaussianInt | ( | double | mu_, |
| double | sigma_ | ||
| ) |
Sets the default for the parameter mu to 0.0 and for the parameter sigma to 1.0.
Definition at line 34 of file gaussian_int.cpp.
|
virtual |
| [in] | lambda_ | Eigenvalue (or singular value) of matrix. |
Implements Function.
Definition at line 71 of file gaussian_int.cpp.
|
virtual |
| [in] | lambda_ | Eigenvalue (or singular value) of matrix. |
Implements Function.
Definition at line 48 of file gaussian_int.cpp.
|
virtual |
| [in] | lambda_ | Eigenvalue (or singular value) of matrix. |
Implements Function.
Definition at line 92 of file gaussian_int.cpp.
| double GaussianInt::mu |
Definition at line 60 of file gaussian_int.h.
Referenced by function(), function(), function(), and GaussianInt().
| double GaussianInt::sigma |
Definition at line 61 of file gaussian_int.h.
Referenced by function(), function(), function(), and GaussianInt().