scram::mef::LognormalDeviate::Logarithmic
Computation with the log-normal mean and error factor.
Inherits from scram::mef::LognormalDeviate::Flavor
Public Functions
| Name | |
|---|---|
| Logarithmic(Expression * mean, Expression * ef, Expression * level)<br>The log-normal deviate parametrization with its expected value and error factor of certain confidence level. | |
| double | scale() override |
| double | location() override |
| double | mean() override |
| void | Validate() const override |
Public Functions Documentation
function Logarithmic
cpp
inline Logarithmic(
Expression * mean,
Expression * ef,
Expression * level
)The log-normal deviate parametrization with its expected value and error factor of certain confidence level.
Parameters:
- mean The mean of the log-normal distribution not the mean of underlying normal distribution, which is parameter mu. mu is the location parameter, sigma is the scale factor. E(x) = exp(mu + sigma^2 / 2)
- ef The error factor of the log-normal distribution. EF = exp(z_alpha * sigma)
- level The confidence level.
function scale
cpp
double scale() overridefunction location
cpp
double location() overridefunction mean
cpp
inline double mean() overridefunction Validate
cpp
void Validate() const overrideExceptions:
- DomainError (mean <= 0) or (ef <= 0) or invalid level.
Updated on 2025-11-11 at 16:51:08 +0000
