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

Power Functor. More...

#include <PowerFunctor.h>

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

Classes

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

Public Member Functions

 PowerFunctor (int n)
 Straightforward constructor. More...
 
result_type operator() (argument_type x) const
 Evaluation operator. More...
 
Integral getIntegral () const
 Return the analytic integral object. More...
 

Private Attributes

int fN
 
Integral fIntegral
 

Detailed Description

Power Functor.

Definition at line 19 of file PowerFunctor.h.

Constructor & Destructor Documentation

UA_CoMP::Num::PowerFunctor::PowerFunctor ( int  n)
inline

Straightforward constructor.

Definition at line 41 of file PowerFunctor.h.

Member Function Documentation

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

Evaluation operator.

Definition at line 44 of file PowerFunctor.h.

References fN.

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

Return the analytic integral object.

Definition at line 47 of file PowerFunctor.h.

References fIntegral.

Member Data Documentation

int UA_CoMP::Num::PowerFunctor::fN
private

Definition at line 50 of file PowerFunctor.h.

Referenced by operator()().

Integral UA_CoMP::Num::PowerFunctor::fIntegral
private

Definition at line 51 of file PowerFunctor.h.

Referenced by getIntegral().


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