shark::Weibull< RngType > Class Template Reference

Weibull distributed random variable. More...

#include <shark/Rng/Weibull.h>

+ Inheritance diagram for shark::Weibull< RngType >:

Public Member Functions

 Weibull (RngType &rng, double alpha=1, double beta=1)
 
double operator() (double alpha, double beta)
 
double alpha () const
 
double beta () const
 
void alpha (double newAlpha)
 
void vbeta (double newBeta)
 
double p (double x) const
 

Detailed Description

template<typename RngType = shark::DefaultRngType>
class shark::Weibull< RngType >

Weibull distributed random variable.

Definition at line 99 of file Weibull.h.

Constructor & Destructor Documentation

◆ Weibull()

template<typename RngType = shark::DefaultRngType>
shark::Weibull< RngType >::Weibull ( RngType &  rng,
double  alpha = 1,
double  beta = 1 
)
inline

Definition at line 105 of file Weibull.h.

Member Function Documentation

◆ alpha() [1/2]

template<typename RngType = shark::DefaultRngType>
double shark::Weibull< RngType >::alpha ( ) const
inline

Definition at line 117 of file Weibull.h.

◆ alpha() [2/2]

template<typename RngType = shark::DefaultRngType>
void shark::Weibull< RngType >::alpha ( double  newAlpha)
inline

Definition at line 125 of file Weibull.h.

References shark::Weibull_distribution< RealType >::beta().

◆ beta()

template<typename RngType = shark::DefaultRngType>
double shark::Weibull< RngType >::beta ( ) const
inline

Definition at line 121 of file Weibull.h.

◆ operator()()

template<typename RngType = shark::DefaultRngType>
double shark::Weibull< RngType >::operator() ( double  alpha,
double  beta 
)
inline

Definition at line 111 of file Weibull.h.

◆ p()

template<typename RngType = shark::DefaultRngType>
double shark::Weibull< RngType >::p ( double  x) const
inline

◆ vbeta()

template<typename RngType = shark::DefaultRngType>
void shark::Weibull< RngType >::vbeta ( double  newBeta)
inline

Definition at line 129 of file Weibull.h.

References shark::Weibull_distribution< RealType >::alpha().


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