OpenMD 3.1
Molecular Dynamics in the Open
|
Public Member Functions | |
void | add (ElementType const &val) |
Accumulate another value. | |
void | clear () |
reset the Accumulator to the empty state | |
void | getLastValue (ElementType &ret) |
return the most recently added value | |
void | getAverage (ResultType &ret) |
compute the Mean | |
void | getTotal (ResultType &ret) |
return the Total accumulated sum | |
void | getVariance (ResultType &ret) |
compute the Variance | |
void | getStdDev (ResultType &ret) |
compute error of average value | |
void | get95percentConfidenceInterval (ResultType &ret) |
return the 95% confidence interval: | |
void | getMaxLength (RealType &ret) |
return the largest length | |
void | getMinLength (RealType &ret) |
return the smallest length | |
void | getAverageLength (RealType &ret) |
return the largest length | |
void | getLengthVariance (RealType &ret) |
compute the Variance of the length | |
void | getLengthStdDev (RealType &ret) |
compute error of average value | |
void | getLength95percentConfidenceInterval (ResultType &ret) |
return the 95% confidence interval: | |
Public Member Functions inherited from OpenMD::BaseAccumulator | |
virtual size_t | count () |
get the number of accumulated values | |
Additional Inherited Members | |
Protected Attributes inherited from OpenMD::BaseAccumulator | |
size_t | Count_ {} |
Definition at line 200 of file OldAccumulator.hpp.
|
inline |
Definition at line 205 of file OldAccumulator.hpp.
|
inline |
Accumulate another value.
Definition at line 210 of file OldAccumulator.hpp.
|
inlinevirtual |
reset the Accumulator to the empty state
Implements OpenMD::BaseAccumulator.
Definition at line 236 of file OldAccumulator.hpp.
|
inline |
return the 95% confidence interval:
That is returns c, such that we have 95% confidence that the true mean is within 2c of the Average (x):
x - c <= true mean <= x + c
Definition at line 306 of file OldAccumulator.hpp.
References getStdDev().
|
inline |
compute the Mean
Definition at line 257 of file OldAccumulator.hpp.
|
inline |
return the largest length
Definition at line 337 of file OldAccumulator.hpp.
|
inline |
return the most recently added value
Definition at line 249 of file OldAccumulator.hpp.
|
inline |
return the 95% confidence interval:
That is returns c, such that we have 95% confidence that the true mean is within 2c of the Average (x):
x - c <= true mean <= x + c
Definition at line 373 of file OldAccumulator.hpp.
References getLengthStdDev().
|
inline |
compute error of average value
Definition at line 356 of file OldAccumulator.hpp.
References getLengthVariance().
Referenced by getLength95percentConfidenceInterval().
|
inline |
compute the Variance of the length
Definition at line 346 of file OldAccumulator.hpp.
Referenced by getLengthStdDev().
|
inline |
return the largest length
Definition at line 319 of file OldAccumulator.hpp.
|
inline |
return the smallest length
Definition at line 328 of file OldAccumulator.hpp.
|
inline |
compute error of average value
Definition at line 287 of file OldAccumulator.hpp.
References getVariance().
Referenced by get95percentConfidenceInterval().
|
inline |
return the Total accumulated sum
Definition at line 266 of file OldAccumulator.hpp.
|
inline |