|
tatami_stats
Matrix statistics for tatami
|
Compute row and column counts from a tatami::Matrix.
More...
Go to the source code of this file.
Classes | |
| struct | tatami_stats::counts::nan::Options |
| NaN-counting options. More... | |
| struct | tatami_stats::counts::zero::Options |
| Zero-counting options. More... | |
Namespaces | |
| namespace | tatami_stats |
Functions to compute statistics from a tatami::Matrix. | |
| namespace | tatami_stats::counts |
| Functions for computing dimension-wise counts. | |
| namespace | tatami_stats::counts::nan |
| Functions for counting NaNs on each dimension. | |
| namespace | tatami_stats::counts::zero |
| Functions for counting zeros on each dimension. | |
Functions | |
| template<typename Value_ , typename Index_ , typename Output_ , class Condition_ > | |
| void | tatami_stats::counts::apply (bool row, const tatami::Matrix< Value_, Index_ > &mat, Output_ *output, int num_threads, Condition_ condition) |
| template<typename Value_ , typename Index_ , typename Output_ > | |
| void | tatami_stats::counts::nan::apply (bool row, const tatami::Matrix< Value_, Index_ > &mat, Output_ *output, const Options &nopt) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::nan::by_row (const tatami::Matrix< Value_, Index_ > &mat, const Options &nopt) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::nan::by_row (const tatami::Matrix< Value_, Index_ > &mat) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::nan::by_column (const tatami::Matrix< Value_, Index_ > &mat, const Options &nopt) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::nan::by_column (const tatami::Matrix< Value_, Index_ > &mat) |
| template<typename Value_ , typename Index_ , typename Output_ > | |
| void | tatami_stats::counts::zero::apply (bool row, const tatami::Matrix< Value_, Index_ > &mat, Output_ *output, const Options &zopt) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::zero::by_row (const tatami::Matrix< Value_, Index_ > &mat, const Options &zopt) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::zero::by_row (const tatami::Matrix< Value_, Index_ > &mat) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::zero::by_column (const tatami::Matrix< Value_, Index_ > &mat, const Options &zopt) |
| template<typename Output_ = int, typename Value_ , typename Index_ > | |
| std::vector< Output_ > | tatami_stats::counts::zero::by_column (const tatami::Matrix< Value_, Index_ > &mat) |
Compute row and column counts from a tatami::Matrix.