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

#include <ROL_Dirac.hpp>

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

Public Member Functions

 Dirac (const Real data=0.)
 
 Dirac (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 Attributes

Real data_
 

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

Definition at line 53 of file ROL_Dirac.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::Dirac< Real >::Dirac ( const Real  data = 0.)
inline

Definition at line 58 of file ROL_Dirac.hpp.

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

Definition at line 60 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

Member Function Documentation

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 64 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 68 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 72 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 76 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 80 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 87 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 91 of file ROL_Dirac.hpp.

References ROL::Dirac< Real >::data_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 95 of file ROL_Dirac.hpp.

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

Member Data Documentation

template<class Real >
Real ROL::Dirac< Real >::data_
private

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