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

#include <ROL_Uniform.hpp>

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

Public Member Functions

 Uniform (const Real lo=0., const Real up=1.)
 
 Uniform (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 a_
 
Real b_
 

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

Definition at line 53 of file ROL_Uniform.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::Uniform< Real >::Uniform ( const Real  lo = 0.,
const Real  up = 1. 
)
inline

Definition at line 59 of file ROL_Uniform.hpp.

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

Definition at line 62 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_, and ROL::Uniform< Real >::b_.

Member Function Documentation

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 70 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_, and ROL::Uniform< Real >::b_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 74 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_, and ROL::Uniform< Real >::b_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 78 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_, and ROL::Uniform< Real >::b_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 83 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_, and ROL::Uniform< Real >::b_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 87 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_, and ROL::Uniform< Real >::b_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 91 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::a_.

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

Reimplemented from ROL::Distribution< Real >.

Definition at line 95 of file ROL_Uniform.hpp.

References ROL::Uniform< Real >::b_.

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

Member Data Documentation

template<class Real >
Real ROL::Uniform< Real >::a_
private
template<class Real >
Real ROL::Uniform< Real >::b_
private

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