ROL
ROL::Laplace< Real > Class Template Reference

#include <ROL_Laplace.hpp>

Inheritance diagram for ROL::Laplace< Real >:

Public Member Functions

 Laplace (const Real mean=0., const Real scale=1.)
 Laplace (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 compute_coeff (const size_t m, const size_t k) const

Private Attributes

Real mean_
Real scale_

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

Definition at line 19 of file ROL_Laplace.hpp.

Constructor & Destructor Documentation

◆ Laplace() [1/2]

template<class Real>
ROL::Laplace< Real >::Laplace ( const Real mean = 0.,
const Real scale = 1. )
inline

Definition at line 36 of file ROL_Laplace.hpp.

References mean_, and scale_.

◆ Laplace() [2/2]

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

Definition at line 39 of file ROL_Laplace.hpp.

References mean_, and scale_.

Member Function Documentation

◆ compute_coeff()

template<class Real>
size_t ROL::Laplace< Real >::compute_coeff ( const size_t m,
const size_t k ) const
inlineprivate

Definition at line 24 of file ROL_Laplace.hpp.

Referenced by moment().

◆ evaluatePDF()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 45 of file ROL_Laplace.hpp.

References mean_, and scale_.

◆ evaluateCDF()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 49 of file ROL_Laplace.hpp.

References mean_, and scale_.

◆ integrateCDF()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 54 of file ROL_Laplace.hpp.

References mean_, and scale_.

◆ invertCDF()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 59 of file ROL_Laplace.hpp.

References mean_, and scale_.

◆ moment()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 64 of file ROL_Laplace.hpp.

References compute_coeff(), mean_, and scale_.

◆ lowerBound()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 81 of file ROL_Laplace.hpp.

References ROL::ROL_NINF().

◆ upperBound()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 85 of file ROL_Laplace.hpp.

References ROL::ROL_INF().

◆ test()

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 89 of file ROL_Laplace.hpp.

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

Member Data Documentation

◆ mean_

template<class Real>
Real ROL::Laplace< Real >::mean_
private

Definition at line 21 of file ROL_Laplace.hpp.

Referenced by evaluateCDF(), evaluatePDF(), integrateCDF(), invertCDF(), Laplace(), Laplace(), and moment().

◆ scale_

template<class Real>
Real ROL::Laplace< Real >::scale_
private

Definition at line 22 of file ROL_Laplace.hpp.

Referenced by evaluateCDF(), evaluatePDF(), integrateCDF(), invertCDF(), Laplace(), Laplace(), and moment().


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