Skip to content

Commit

Permalink
add some small doxygen comments
Browse files Browse the repository at this point in the history
  • Loading branch information
foolnotion committed Jun 1, 2024
1 parent de193cd commit dbfe0bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/vstat/bivariate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#include "combine.hpp"

namespace VSTAT_NAMESPACE {

/*!
\brief Bivariate accumulator object
*/
template <typename T>
struct bivariate_accumulator {
static auto load_state(T sx, T sy, T sw, T sxx, T syy, T sxy) noexcept -> bivariate_accumulator<T> // NOLINT
Expand Down Expand Up @@ -102,6 +104,9 @@ struct bivariate_accumulator {
T sum_xy{0};
};

/*!
\brief Bivariate statistics
*/
struct bivariate_statistics {
double count;
double sum_x;
Expand Down
3 changes: 3 additions & 0 deletions include/vstat/univariate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ struct univariate_accumulator {
T sum_xx{0};
};

/*!
\brief Univariate statistics
*/
struct univariate_statistics {
double count;
double sum;
Expand Down

0 comments on commit dbfe0bc

Please sign in to comment.