mean.cold_standby_dist: Mean of a cold-standby system: sum of component means

View source: R/cold_standby.R

mean.cold_standby_distR Documentation

Mean of a cold-standby system: sum of component means

Description

Computes ⁠sum_j E[T_j]⁠ exactly when every component implements a mean() method. Falls back to a Monte Carlo estimate from the sampler when any component lacks an exact mean (e.g., a dist_structure component whose mean would route through algebraic.dist::univariate_dist and require density / sup, which are not provided on dist_structure by default).

Usage

## S3 method for class 'cold_standby_dist'
mean(x, ...)

Arguments

x

A cold_standby_dist object.

...

Passed to the Monte Carlo fallback as mc (default 1e5).

Value

Numeric scalar.


dist.structure documentation built on May 13, 2026, 1:07 a.m.