MonteCarloMeasurementUncertainty (MCMU) API

MonteCarloMeasurementUncertainty.MonteCarloMeasurementType
MonteCarloMeasurement

Abstract type that provides an interface for all MonteCarloMeasurements.

Warning

Required Interface Functions

The following functions must have methods defined for each new MonteCarloMeasurement.

  • push!: Move a new measurement into the MonteCarloMeasurement instance.
Note

Default Interface Functions

The following functions have a default method for any given MonteCarloMeasurement.

source
Base.eltypeMethod
eltype(meas::TimeSeries)

Base overload of eltype. A wrapper around eltype(meas.datastream).

source
Base.push!Method
push!(meas::AccumulatedSeries, value)

push! a single value or many values into a [AccumulatedSeries] datastream.

source
Base.push!Method
push!(meas::TimeSeries, value)

push! an iterable many values into a [TimeSeries] datastream.

Additional Information

If the values are sufficiently long, this will trigger the datastream to be resize!d which can have O(n) complexity. It is preferred to preallocate the requisite memory with TimeSeries(name, size).

source
Base.push!Method
push!(meas::TimeSeries, single_value::Number)

push! a single numerical value into the datastream. If the current datastream is full, meaning length(meas.datastream) == meas.current_index, then the datastream is resize!d when the value is pushed. Can result in O(n) complexity.

source