Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
concepts::BernoulliPol Class Reference

#include <bernoulliPol.h>

Collaboration diagram for concepts::BernoulliPol:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< CacheKey, RealCache
typedef std::pair< int, RealCacheKey

Public Member Functions

 BernoulliPol ()
Real binom (int a, int b)
 computes (a over b)
Real eval (int k, Real x)
 ~BernoulliPol ()

Static Public Member Functions

static BernoulliPolgetInstance ()
template<typename Real >
static Real powi (Real x, int power)

Private Member Functions

 BernoulliPol (BernoulliPol &other)
BernoulliPoloperator= (BernoulliPol &other)

Private Attributes

Cache cache

Static Private Attributes

static BernoulliPol g_instance

Detailed Description

Definition at line 10 of file bernoulliPol.h.


Member Typedef Documentation

Definition at line 19 of file bernoulliPol.h.

typedef std::pair<int, Real> concepts::BernoulliPol::CacheKey

Definition at line 18 of file bernoulliPol.h.


Constructor & Destructor Documentation

concepts::BernoulliPol::BernoulliPol ( BernoulliPol other) [private]
concepts::BernoulliPol::BernoulliPol ( ) [inline]

Definition at line 21 of file bernoulliPol.h.

concepts::BernoulliPol::~BernoulliPol ( ) [inline]

Definition at line 25 of file bernoulliPol.h.


Member Function Documentation

Real concepts::BernoulliPol::binom ( int  a,
int  b 
)

computes (a over b)

Real concepts::BernoulliPol::eval ( int  k,
Real  x 
)
Returns:
BernoulliPolynomial_k (x)
static BernoulliPol& concepts::BernoulliPol::getInstance ( ) [inline, static]

Definition at line 28 of file bernoulliPol.h.

BernoulliPol& concepts::BernoulliPol::operator= ( BernoulliPol other) [private]
template<typename Real >
static Real concepts::BernoulliPol::powi ( Real  x,
int  power 
) [inline, static]

Definition at line 39 of file bernoulliPol.h.


Member Data Documentation

Definition at line 54 of file bernoulliPol.h.

Definition at line 52 of file bernoulliPol.h.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)