|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::compute_variance_statistic | ( | std::span< const double > | data, |
| const size_t | num_windows, | ||
| const uint32_t | hop_size, | ||
| const uint32_t | window_size, | ||
| bool | sample_variance = true |
||
| ) |
Compute variance statistic using zero-copy processing.
This function computes the variance for a given data span. It calculates the sample or population variance in each window.
| data | Input data span |
| num_windows | Number of windows to process |
| hop_size | Hop size for windowing |
| window_size | Size of each window |
| sample_variance | If true, use sample variance (N-1), else population (N) |
Definition at line 361 of file AnalysisHelper.cpp.
References compute_variance_statistic(), and MayaFlux::mean().
Referenced by MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::compute_statistical_values(), compute_std_dev_statistic(), compute_variance_statistic(), and MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::create_analysis_result().
Here is the call graph for this function:
Here is the caller graph for this function: