www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
LognormalDistribution Class Reference

A class used to generate Lognormal distribution via Boost. More...

#include <LognormalDistribution.h>

Inheritance diagram for LognormalDistribution:
[legend]

Public Member Functions

 LognormalDistribution (const InputParameters &parameters)
 
virtual Real pdf (const Real &x) override
 
virtual Real cdf (const Real &x) override
 
virtual Real quantile (const Real &y) override
 

Protected Attributes

std::unique_ptr< boost::math::lognormal_distribution< Real > > _distribution_unique_ptr
 This must be defined by the child class in the constructor. More...
 

Detailed Description

A class used to generate Lognormal distribution via Boost.

Definition at line 21 of file LognormalDistribution.h.

Constructor & Destructor Documentation

LognormalDistribution::LognormalDistribution ( const InputParameters &  parameters)

Definition at line 21 of file LognormalDistribution.C.

23 {
24  _distribution_unique_ptr = libmesh_make_unique<boost::math::lognormal_distribution<Real>>(
25  getParam<Real>("location"), getParam<Real>("scale"));
26 }
A class used to as a base for distributions defined by Boost.
std::unique_ptr< boost::math::lognormal_distribution< Real > > _distribution_unique_ptr
This must be defined by the child class in the constructor.

Member Function Documentation

virtual Real BoostDistribution< boost::math::lognormal_distribution< Real > >::cdf ( const Real &  x)
overridevirtualinherited
virtual Real BoostDistribution< boost::math::lognormal_distribution< Real > >::pdf ( const Real &  x)
overridevirtualinherited
virtual Real BoostDistribution< boost::math::lognormal_distribution< Real > >::quantile ( const Real &  y)
overridevirtualinherited

Member Data Documentation

std::unique_ptr<boost::math::lognormal_distribution< Real > > BoostDistribution< boost::math::lognormal_distribution< Real > >::_distribution_unique_ptr
protectedinherited

This must be defined by the child class in the constructor.

Definition at line 55 of file BoostDistribution.h.

Referenced by LognormalDistribution().


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