Skip to content

scram::mef::Weibull

Weibull distribution with scale, shape, time shift, and time.

#include <exponential.h>

Inherits from scram::mef::ExpressionFormula< Weibull >, scram::mef::Expression, boost::noncopyable

Public Functions

Name
template <typename T > <br>doubleCompute(T && eval)<br>Calculates Weibull expression.
doubleCompute(double alpha, double beta, double t0, double time)
Weibull(Expression * alpha, Expression * beta, Expression * t0, Expression * time)<br>Constructor for Weibull distribution.
virtual voidValidate() const override<br>Validates the expression.
virtual Intervalinterval() override

Additional inherited members

Public Functions inherited from scram::mef::ExpressionFormula< Weibull >

Name
virtual doublevalue()<br>Computes the expression with argument expression default values.
Expression(std::vector< Expression * > args ={})<br>Constructor for use by derived classes to register their arguments.

Public Functions inherited from scram::mef::Expression

Name
Expression(std::vector< Expression * > args ={})<br>Constructor for use by derived classes to register their arguments.
virtual~Expression() =default
const std::vector< Expression * > &args() const
virtual doublevalue() =0
virtual boolIsDeviate()<br>Determines if the value of the expression contains deviate expressions.
doubleSample()
voidReset()<br>This routine resets the sampling to get new values.

Protected Functions inherited from scram::mef::Expression

Name
voidAddArg(Expression * arg)<br>Registers an additional argument expression.

Public Functions Documentation

function Compute

cpp
template <typename T >
inline double Compute(
    T && eval
)

Calculates Weibull expression.

function Compute

cpp
double Compute(
    double alpha,
    double beta,
    double t0,
    double time
)

function Weibull

cpp
Weibull(
    Expression * alpha,
    Expression * beta,
    Expression * t0,
    Expression * time
)

Constructor for Weibull distribution.

Parameters:

  • alpha Scale parameter.
  • beta Shape parameter.
  • t0 Time shift.
  • time Mission time.

function Validate

cpp
virtual void Validate() const override

Validates the expression.

Exceptions:

Reimplements: scram::mef::Expression::Validate

This late validation is due to parameters that are defined late.

function interval

cpp
inline virtual Interval interval() override

Return: The domain interval for validation purposes only.

Reimplements: scram::mef::Expression::interval


Updated on 2025-11-11 at 16:51:08 +0000