ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROL::Beta< Real > Class Template Reference

#include <ROL_Beta.hpp>

+ Inheritance diagram for ROL::Beta< Real >:

Public Member Functions

 Beta (const Real shape1=2., const Real shape2=2.)
 
 Beta (ROL::ParameterList &parlist)
 
Real evaluatePDF (const Real input) const
 
Real evaluateCDF (const Real input) const
 
Real integrateCDF (const Real input) const
 
Real invertCDF (const Real input) const
 
Real moment (const size_t m) const
 
Real lowerBound (void) const
 
Real upperBound (void) const
 
void test (std::ostream &outStream=std::cout) const
 
- Public Member Functions inherited from ROL::Distribution< Real >
virtual ~Distribution (void)
 

Private Member Functions

void initializeQuadrature (void)
 
Real ibeta (const Real x) const
 

Private Attributes

Real shape1_
 
Real shape2_
 
Real coeff_
 
std::vector< Real > pts_
 
std::vector< Real > wts_
 

Additional Inherited Members

- Protected Member Functions inherited from ROL::Distribution< Real >
void test (const std::vector< Real > &X, const std::vector< int > &T, std::ostream &outStream=std::cout) const
 

Detailed Description

template<class Real>
class ROL::Beta< Real >

Definition at line 21 of file ROL_Beta.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::Beta< Real >::Beta ( const Real  shape1 = 2.,
const Real  shape2 = 2. 
)
inline
template<class Real >
ROL::Beta< Real >::Beta ( ROL::ParameterList &  parlist)
inline

Member Function Documentation

template<class Real >
void ROL::Beta< Real >::initializeQuadrature ( void  )
inlineprivate

Definition at line 30 of file ROL_Beta.hpp.

References ROL::Beta< Real >::pts_, and ROL::Beta< Real >::wts_.

Referenced by ROL::Beta< Real >::Beta().

template<class Real >
Real ROL::Beta< Real >::ibeta ( const Real  x) const
inlineprivate
template<class Real >
Real ROL::Beta< Real >::evaluatePDF ( const Real  input) const
inlinevirtual
template<class Real >
Real ROL::Beta< Real >::evaluateCDF ( const Real  input) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 89 of file ROL_Beta.hpp.

References ROL::Beta< Real >::coeff_, and ROL::Beta< Real >::ibeta().

Referenced by ROL::Beta< Real >::invertCDF().

template<class Real >
Real ROL::Beta< Real >::integrateCDF ( const Real  input) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 93 of file ROL_Beta.hpp.

template<class Real >
Real ROL::Beta< Real >::invertCDF ( const Real  input) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 98 of file ROL_Beta.hpp.

References ROL::Beta< Real >::evaluateCDF().

template<class Real >
Real ROL::Beta< Real >::moment ( const size_t  m) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 123 of file ROL_Beta.hpp.

References ROL::Beta< Real >::shape1_, and ROL::Beta< Real >::shape2_.

template<class Real >
Real ROL::Beta< Real >::lowerBound ( void  ) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 137 of file ROL_Beta.hpp.

template<class Real >
Real ROL::Beta< Real >::upperBound ( void  ) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 141 of file ROL_Beta.hpp.

template<class Real >
void ROL::Beta< Real >::test ( std::ostream &  outStream = std::cout) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 145 of file ROL_Beta.hpp.

References ROL::Distribution< Real >::test().

Member Data Documentation

template<class Real >
Real ROL::Beta< Real >::shape1_
private
template<class Real >
Real ROL::Beta< Real >::shape2_
private
template<class Real >
Real ROL::Beta< Real >::coeff_
private
template<class Real >
std::vector<Real> ROL::Beta< Real >::pts_
private
template<class Real >
std::vector<Real> ROL::Beta< Real >::wts_
private

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