IrreversibleScalar¶
Source: models/common/IrreversibleScalar.py
Monotonically-increasing ratchet on a Scalar:
\(y = \max(y_{n-1}, x)\) where \(x\) is the trial value (from)
and \(y_{n-1}\) is the previous-step value of the output
(auto-declared via history_name).
Inputs¶
from—input·Scalar· requiredTrial value at the current step
Outputs¶
to—output·Scalar· requiredUpdated (irreversibly-capped) value