shark::Weibull_distribution< RealType > Class Template Reference

Weibull distribution. More...

#include <shark/Rng/Weibull.h>

Public Member Functions

 Weibull_distribution (RealType alpha, RealType beta)
 
RealType alpha () const
 
RealType beta () const
 
void reset ()
 
template<class Engine >
result_type operator() (Engine &eng)
 

Friends

template<class CharT , class Traits >
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, const Weibull_distribution &d)
 
template<class CharT , class Traits >
std::basic_istream< CharT, Traits > & operator>> (std::basic_istream< CharT, Traits > &is, Weibull_distribution &d)
 

Detailed Description

template<class RealType = double>
class shark::Weibull_distribution< RealType >

Weibull distribution.

Definition at line 47 of file Weibull.h.

Constructor & Destructor Documentation

◆ Weibull_distribution()

template<class RealType = double>
shark::Weibull_distribution< RealType >::Weibull_distribution ( RealType  alpha,
RealType  beta 
)
inlineexplicit

Definition at line 53 of file Weibull.h.

Member Function Documentation

◆ alpha()

template<class RealType = double>
RealType shark::Weibull_distribution< RealType >::alpha ( ) const
inline

Definition at line 57 of file Weibull.h.

Referenced by shark::Weibull< RngType >::p(), and shark::Weibull< RngType >::vbeta().

◆ beta()

template<class RealType = double>
RealType shark::Weibull_distribution< RealType >::beta ( ) const
inline

Definition at line 61 of file Weibull.h.

Referenced by shark::Weibull< RngType >::alpha(), and shark::Weibull< RngType >::p().

◆ operator()()

template<class RealType = double>
template<class Engine >
result_type shark::Weibull_distribution< RealType >::operator() ( Engine &  eng)
inline

Definition at line 69 of file Weibull.h.

References shark::uni().

◆ reset()

template<class RealType = double>
void shark::Weibull_distribution< RealType >::reset ( )
inline

Definition at line 66 of file Weibull.h.

Friends And Related Function Documentation

◆ operator<<

template<class RealType = double>
template<class CharT , class Traits >
std::basic_ostream<CharT,Traits>& operator<< ( std::basic_ostream< CharT, Traits > &  os,
const Weibull_distribution< RealType > &  d 
)
friend

Definition at line 77 of file Weibull.h.

◆ operator>>

template<class RealType = double>
template<class CharT , class Traits >
std::basic_istream<CharT,Traits>& operator>> ( std::basic_istream< CharT, Traits > &  is,
Weibull_distribution< RealType > &  d 
)
friend

Definition at line 86 of file Weibull.h.


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