KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::Monomial< k > Class Template Reference

Monomial a*x^k of order k. More...

#include <elementary_functions.hh>

Detailed Description

template<int k>
class Kaskade::Monomial< k >

Monomial a*x^k of order k.

Definition at line 48 of file elementary_functions.hh.

Public Types

enum  { K =k }
 

Public Member Functions

 Monomial (double const a_=1.0)
 Constructor. More...
 
double d0 (double const x) const
 Function value. More...
 
double d1 (double const x) const
 First derivative. More...
 
double d2 (double const x) const
 Second derivative. More...
 
double d3 (double const x) const
 Third derivative. More...
 
void setA (double const a_)
 Set a. More...
 

Member Enumeration Documentation

◆ anonymous enum

template<int k>
anonymous enum
Enumerator

Definition at line 50 of file elementary_functions.hh.

Constructor & Destructor Documentation

◆ Monomial()

template<int k>
Kaskade::Monomial< k >::Monomial ( double const  a_ = 1.0)
inlineexplicit

Constructor.

Parameters
a_scaling factor

Definition at line 55 of file elementary_functions.hh.

Member Function Documentation

◆ d0()

template<int k>
double Kaskade::Monomial< k >::d0 ( double const  x) const
inline

Function value.

Parameters
xevaluation point

Definition at line 66 of file elementary_functions.hh.

◆ d1()

template<int k>
double Kaskade::Monomial< k >::d1 ( double const  x) const
inline

First derivative.

Parameters
xevaluation point

Definition at line 75 of file elementary_functions.hh.

◆ d2()

template<int k>
double Kaskade::Monomial< k >::d2 ( double const  x) const
inline

Second derivative.

Parameters
xevaluation point

Definition at line 84 of file elementary_functions.hh.

◆ d3()

template<int k>
double Kaskade::Monomial< k >::d3 ( double const  x) const
inline

Third derivative.

Parameters
xevaluation point

Definition at line 93 of file elementary_functions.hh.

◆ setA()

template<int k>
void Kaskade::Monomial< k >::setA ( double const  a_)
inline

Set a.

Definition at line 99 of file elementary_functions.hh.


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