Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
UA_CoMP::Num::OscillatoryFunctor Class Reference

Oscillatory functor. More...

#include <OscillatoryFunctor.h>

Inheritance diagram for UA_CoMP::Num::OscillatoryFunctor:
Inheritance graph
Collaboration diagram for UA_CoMP::Num::OscillatoryFunctor:
Collaboration graph

Classes

class  Integral
 Nested class contains the analytic integral of the functor for testing purposes. More...
 

Public Types

using Arg = argument_type
 
using Res = result_type
 

Public Member Functions

 OscillatoryFunctor (argument_type a, argument_type b)
 Straightforward constructor. More...
 
result_type operator() (argument_type x) const
 Functor evaluation. More...
 
Integral getIntegral () const
 Return the analytic integral object. More...
 

Private Attributes

double fA
 
double fB
 
Integral fIntegral
 

Detailed Description

Oscillatory functor.

Cfr. The Handbook of Mathematical Functions, M. Abramowitz and I. Stegun, Dover Publications, Item 4.3.136.

Definition at line 24 of file OscillatoryFunctor.h.

Member Typedef Documentation

Definition at line 27 of file OscillatoryFunctor.h.

Definition at line 28 of file OscillatoryFunctor.h.

Constructor & Destructor Documentation

UA_CoMP::Num::OscillatoryFunctor::OscillatoryFunctor ( argument_type  a,
argument_type  b 
)
inline

Straightforward constructor.

Definition at line 52 of file OscillatoryFunctor.h.

Member Function Documentation

result_type UA_CoMP::Num::OscillatoryFunctor::operator() ( argument_type  x) const
inline

Functor evaluation.

Definition at line 55 of file OscillatoryFunctor.h.

References fA, and fB.

Integral UA_CoMP::Num::OscillatoryFunctor::getIntegral ( ) const
inline

Return the analytic integral object.

Definition at line 58 of file OscillatoryFunctor.h.

References fIntegral.

Referenced by main().

Here is the caller graph for this function:

Member Data Documentation

double UA_CoMP::Num::OscillatoryFunctor::fA
private

Definition at line 61 of file OscillatoryFunctor.h.

Referenced by operator()().

double UA_CoMP::Num::OscillatoryFunctor::fB
private

Definition at line 62 of file OscillatoryFunctor.h.

Referenced by operator()().

Integral UA_CoMP::Num::OscillatoryFunctor::fIntegral
private

Definition at line 63 of file OscillatoryFunctor.h.

Referenced by getIntegral().


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