ROL
ROL::Kumaraswamy< Real > Class Template Reference

#include <ROL_Kumaraswamy.hpp>

Inheritance diagram for ROL::Kumaraswamy< Real >:

Public Member Functions

 Kumaraswamy (const Real a=0., const Real b=1., const Real exp1=0.5, const Real exp2=0.5)
 Kumaraswamy (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

size_t nchoosek (const size_t n, const size_t k) const

Private Attributes

Real a_
Real b_
Real exp1_
Real exp2_
Real bGAMMAb_

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::Kumaraswamy< Real >

Definition at line 21 of file ROL_Kumaraswamy.hpp.

Constructor & Destructor Documentation

◆ Kumaraswamy() [1/2]

template<class Real>
ROL::Kumaraswamy< Real >::Kumaraswamy ( const Real a = 0.,
const Real b = 1.,
const Real exp1 = 0.5,
const Real exp2 = 0.5 )
inline

Definition at line 34 of file ROL_Kumaraswamy.hpp.

References a_, b_, bGAMMAb_, exp1_, and exp2_.

◆ Kumaraswamy() [2/2]

template<class Real>
ROL::Kumaraswamy< Real >::Kumaraswamy ( ROL::ParameterList & parlist)
inline

Definition at line 41 of file ROL_Kumaraswamy.hpp.

References a_, b_, bGAMMAb_, exp1_, and exp2_.

Member Function Documentation

◆ nchoosek()

template<class Real>
size_t ROL::Kumaraswamy< Real >::nchoosek ( const size_t n,
const size_t k ) const
inlineprivate

Definition at line 29 of file ROL_Kumaraswamy.hpp.

References nchoosek().

Referenced by moment(), and nchoosek().

◆ evaluatePDF()

template<class Real>
Real ROL::Kumaraswamy< Real >::evaluatePDF ( const Real input) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 56 of file ROL_Kumaraswamy.hpp.

References a_, b_, exp1_, and exp2_.

◆ evaluateCDF()

template<class Real>
Real ROL::Kumaraswamy< Real >::evaluateCDF ( const Real input) const
inlinevirtual

Reimplemented from ROL::Distribution< Real >.

Definition at line 62 of file ROL_Kumaraswamy.hpp.

References a_, b_, exp1_, and exp2_.

◆ integrateCDF()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 67 of file ROL_Kumaraswamy.hpp.

◆ invertCDF()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 72 of file ROL_Kumaraswamy.hpp.

References a_, b_, exp1_, and exp2_.

◆ moment()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 77 of file ROL_Kumaraswamy.hpp.

References a_, b_, bGAMMAb_, exp1_, exp2_, moment(), and nchoosek().

Referenced by moment().

◆ lowerBound()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 87 of file ROL_Kumaraswamy.hpp.

References a_.

◆ upperBound()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 91 of file ROL_Kumaraswamy.hpp.

References b_.

◆ test()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 95 of file ROL_Kumaraswamy.hpp.

References a_, b_, and ROL::Distribution< Real >::test().

Member Data Documentation

◆ a_

template<class Real>
Real ROL::Kumaraswamy< Real >::a_
private

◆ b_

template<class Real>
Real ROL::Kumaraswamy< Real >::b_
private

◆ exp1_

template<class Real>
Real ROL::Kumaraswamy< Real >::exp1_
private

◆ exp2_

template<class Real>
Real ROL::Kumaraswamy< Real >::exp2_
private

◆ bGAMMAb_

template<class Real>
Real ROL::Kumaraswamy< Real >::bGAMMAb_
private

Definition at line 27 of file ROL_Kumaraswamy.hpp.

Referenced by Kumaraswamy(), Kumaraswamy(), and moment().


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