Opm::RunningStatistics< Scalar > Class Template Reference
Inheritance diagram for Opm::RunningStatistics< Scalar >:
![]()
Detailed Descriptiontemplate<typename Scalar> class Opm::RunningStatistics< Scalar > Facility for calculating simple sample statistics without having full sample available.
Member Function Documentation◆ addSamplePoint()
template<typename Scalar >
Include new element into sample. Updates internal statistics counters.
References Opm::RunningStatistics< Scalar >::mean(). ◆ max()
template<typename Scalar >
Retrieve largest sample value seen so far. ◆ mean()
template<typename Scalar >
Retrieve arithmetic average of all sample points seen so far. Referenced by Opm::RunningStatistics< Scalar >::addSamplePoint(). ◆ min()
template<typename Scalar >
Retrieve smallest sample value seen so far. ◆ operator==()
template<typename Scalar >
Equality predicate.
◆ reset()
template<typename Scalar >
Reset internal counters to prepare for calculating a new set of sample statistics. ◆ sampleSize()
template<typename Scalar >
Retrieve current sample size. Effectively returns the number of calls to addSamplePoint() since object was constructed or since the previous call to reset(). ◆ serializationTestObject()
template<typename Scalar >
Create a serialisation test object. ◆ serializeOp()
template<typename Scalar >
template<class Serializer >
Convert between byte array and object representation.
◆ stdev()
template<typename Scalar >
Retrieve unbiased standard deviation of all sample points seen so far. Returns nullopt if number of sample points is less than two. The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||