STK++ 0.9.13
STK::Law::PdfOp< Type > Struct Template Reference

, More...

#include <STK_Law_Functors.h>

Public Types

enum  { NbParam_ = 1 }
 
typedef Type result_type
 
typedef hidden::RemoveConst< Type >::Type param1_type
 

Public Member Functions

 PdfOp (IUnivLaw< Type > const &law)
 
 PdfOp (PdfOp const &functor)
 
result_type operator() (param1_type const &a) const
 

Private Attributes

IUnivLaw< Type > constlaw_
 

Detailed Description

template<typename Type>
struct STK::Law::PdfOp< Type >

,

Template functor computing pdf values

Definition at line 49 of file STK_Law_Functors.h.

Member Typedef Documentation

◆ param1_type

template<typename Type >
typedef hidden::RemoveConst<Type>::Type STK::Law::PdfOp< Type >::param1_type

Definition at line 53 of file STK_Law_Functors.h.

◆ result_type

template<typename Type >
typedef Type STK::Law::PdfOp< Type >::result_type

Definition at line 52 of file STK_Law_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 51 of file STK_Law_Functors.h.

Constructor & Destructor Documentation

◆ PdfOp() [1/2]

template<typename Type >
STK::Law::PdfOp< Type >::PdfOp ( IUnivLaw< Type > const law)
inline

Definition at line 55 of file STK_Law_Functors.h.

55: law_(law) {}
IUnivLaw< Type > const & law_

◆ PdfOp() [2/2]

template<typename Type >
STK::Law::PdfOp< Type >::PdfOp ( PdfOp< Type > const functor)
inline

Definition at line 56 of file STK_Law_Functors.h.

56: law_(functor.law_) {}

Member Function Documentation

◆ operator()()

template<typename Type >
result_type STK::Law::PdfOp< Type >::operator() ( param1_type const a) const
inline

Definition at line 57 of file STK_Law_Functors.h.

57{ return law_.pdf(a);}

References STK::Law::PdfOp< Type >::law_.

Member Data Documentation

◆ law_

template<typename Type >
IUnivLaw<Type> const& STK::Law::PdfOp< Type >::law_
private

Definition at line 60 of file STK_Law_Functors.h.

Referenced by STK::Law::PdfOp< Type >::operator()().


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