ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 53 of file ROL_Laplace.hpp.

Constructor & Destructor Documentation

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

Definition at line 70 of file ROL_Laplace.hpp.

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

Definition at line 73 of file ROL_Laplace.hpp.

References ROL::Laplace< Real >::mean_, and ROL::Laplace< Real >::scale_.

Member Function Documentation

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

Definition at line 58 of file ROL_Laplace.hpp.

Referenced by ROL::Laplace< Real >::moment().

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 79 of file ROL_Laplace.hpp.

References ROL::Laplace< Real >::mean_, and ROL::Laplace< Real >::scale_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 83 of file ROL_Laplace.hpp.

References ROL::Laplace< Real >::mean_, and ROL::Laplace< Real >::scale_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 88 of file ROL_Laplace.hpp.

References ROL::Laplace< Real >::mean_, and ROL::Laplace< Real >::scale_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 93 of file ROL_Laplace.hpp.

References ROL::Laplace< Real >::mean_, and ROL::Laplace< Real >::scale_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 115 of file ROL_Laplace.hpp.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 119 of file ROL_Laplace.hpp.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 123 of file ROL_Laplace.hpp.

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

Member Data Documentation

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

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