![]() |
imate
C++/CUDA Reference
|
Defines the function \( f: \lambda \mapsto H(\lambda - a) - H(\lambda - b) \) where \( H \) is the Heaviside step function. More...
#include <indicator.h>


Public Member Functions | |
| Indicator (double a_, double b_) | |
Sets the default parameters a and c. More... | |
| 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. More... | |
Public Attributes | |
| double | a |
| double | b |
Defines the function \( f: \lambda \mapsto H(\lambda - a) - H(\lambda - b) \) where \( H \) is the Heaviside step function.
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 41 of file indicator.h.
| Indicator::Indicator | ( | double | a_, |
| double | b_ | ||
| ) |
|
virtual |
| [in] | lambda_ | Eigenvalue (or singular value) of matrix. |
Implements Function.
Definition at line 62 of file indicator.cpp.
|
virtual |
| [in] | lambda_ | Eigenvalue (or singular value) of matrix. |
Implements Function.
Definition at line 41 of file indicator.cpp.
|
virtual |
| [in] | lambda_ | Eigenvalue (or singular value) of matrix. |
Implements Function.
Definition at line 83 of file indicator.cpp.
| double Indicator::a |
Definition at line 48 of file indicator.h.
Referenced by function(), and Indicator().
| double Indicator::b |
Definition at line 49 of file indicator.h.
Referenced by function(), and Indicator().