🎉 init(cmake): init modern cmake template
This commit is contained in:
12
include/modern/lib.hpp
Normal file
12
include/modern/lib.hpp
Normal 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
|
||||
);
|
Reference in New Issue
Block a user