MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ std_dev() [2/2]

MAYAFLUX_API double MayaFlux::std_dev ( const std::vector< double > &  data)

Calculate standard deviation of single-channel data.

Parameters
dataInput data
Returns
Standard deviation

Definition at line 156 of file Yantra.cpp.

157{
158 static const auto s_op = [] {
159 auto a = std::make_shared<Yantra::StandardStatisticalAnalyzer>();
160 a->set_method(Yantra::StatisticalMethod::STD_DEV);
161 return a;
162 }();
163 return s_op->analyze_statistics({ Kakshya::DataVariant(data) }).channel_statistics[0].stat_std_dev;
164}
size_t a

References a, and MayaFlux::Yantra::STD_DEV.

Referenced by MayaFlux::Kinesis::Discrete::coefficient_of_variation(), MayaFlux::Kinesis::Discrete::std_dev(), and std_dev_combined().

+ Here is the caller graph for this function: