imate
C++/CUDA Reference
Function Class Referenceabstract

Defines the function \( f: \lambda \mapsto \lambda \). More...

#include <functions.h>

Inheritance diagram for Function:

Public Member Functions

virtual ~Function ()
 Default virtual destructor. More...
 
virtual float function (const float lambda_) const =0
 
virtual double function (const double lambda_) const =0
 
virtual long double function (const long double lambda_) const =0
 

Detailed Description

Defines the function \( f: \lambda \mapsto \lambda \).

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.

Note
This class is a base class for other classes and serves as an interface. To create a new matrix function, derive a class from Function class and implement the function method.

Definition at line 37 of file functions.h.

Constructor & Destructor Documentation

◆ ~Function()

Function::~Function ( )
virtual

Default virtual destructor.

Definition at line 26 of file functions.cpp.

27 {
28 }

Member Function Documentation

◆ function() [1/3]

virtual double Function::function ( const double  lambda_) const
pure virtual

◆ function() [2/3]

virtual float Function::function ( const float  lambda_) const
pure virtual

◆ function() [3/3]

virtual long double Function::function ( const long double  lambda_) const
pure virtual

The documentation for this class was generated from the following files: