![]() |
imate
C++/CUDA Reference
|
Defines the function \( f: \lambda \mapsto \lambda^{p} \), where \( p \in \mathbb{R} \) is a parameter and should be set by this->exponent member.
More...
#include <power.h>


Public Member Functions | |
| Power () | |
Sets the default for the parameter exponent to 2.0. 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 | exponent |
Defines the function \( f: \lambda \mapsto \lambda^{p} \), where \( p \in \mathbb{R} \) is a parameter and should be set by this->exponent member.
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.
| Power::Power | ( | ) |
Sets the default for the parameter exponent to 2.0.
|
virtual |
|
virtual |
|
virtual |
| double Power::exponent |
Definition at line 49 of file power.h.
Referenced by function().