|
tatami_stats
Matrix statistics for tatami
|
Compute row and column sums from a tatami::Matrix.
More...
Go to the source code of this file.
Classes | |
| struct | tatami_stats::sums::Options |
| Summation options. More... | |
| class | tatami_stats::sums::RunningDense< Output_, Value_, Index_ > |
| Running sums from dense data. More... | |
| class | tatami_stats::sums::RunningSparse< Output_, Value_, Index_ > |
| Running sums from sparse data. More... | |
Namespaces | |
| namespace | tatami_stats |
Functions to compute statistics from a tatami::Matrix. | |
| namespace | tatami_stats::sums |
| Functions for computing dimension-wise sums. | |
Functions | |
| template<typename Output_ = double, typename Value_ , typename Index_ > | |
| Output_ | tatami_stats::sums::direct (const Value_ *ptr, Index_ num, bool skip_nan) |
| template<typename Value_ , typename Index_ , typename Output_ > | |
| void | tatami_stats::sums::apply (bool row, const tatami::Matrix< Value_, Index_ > &mat, Output_ *output, const Options &sopt) |
| template<typename Output_ = double, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::sums::by_column (const tatami::Matrix< Value_, Index_ > &mat, const Options &sopt) |
| template<typename Output_ = double, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::sums::by_row (const tatami::Matrix< Value_, Index_ > &mat, const Options &sopt) |
Compute row and column sums from a tatami::Matrix.