Dynamical system model
Loading...
Searching...
No Matches
dsf::Measurement< T > Struct Template Reference

The Measurement struct represents the mean of a quantity and its standard deviation. More...

#include <Measurement.hpp>

Public Member Functions

 Measurement (T mean, T std)
 
template<typename TContainer>
 Measurement (TContainer const &data)
 

Public Attributes

mean = static_cast<T>(0)
 
std = static_cast<T>(0)
 
bool is_valid = false
 

Detailed Description

template<typename T>
struct dsf::Measurement< T >

The Measurement struct represents the mean of a quantity and its standard deviation.

Template Parameters
TThe type of the quantity
Parameters
meanThe mean
stdThe standard deviation of the sample
is_validTrue if the measurement is valid, false otherwise (i.e. checks if the sample is not empty)

The documentation for this struct was generated from the following file: