🎉 init(cmake): init modern cmake template

This commit is contained in:
clzhao20 committed 2024-04-08 15:22:45 +08:00
commit 120ef25b84
18 files changed
+285

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#pragma once
#include <vector>
#include <tuple>
/// \brief Accumulate a vector to produce the mean and the first moment of the distribution.
///
/// This computes the mean and the first moment of a vector of double values.
///
std::tuple<double, double> accumulate_vector(
const std::vector<double>& values ///< The vector of values
);