tatami_stats
Matrix statistics for tatami
|
Compute group-wise variances from a tatami::Matrix
.
More...
Go to the source code of this file.
Classes | |
struct | tatami_stats::grouped_variances::Options |
Grouped summation options. More... | |
Namespaces | |
namespace | tatami_stats |
Functions to compute statistics from a tatami::Matrix . | |
namespace | tatami_stats::grouped_variances |
Functions for computing dimension-wise grouped variances. | |
Functions | |
template<typename Value_ , typename Index_ , typename Group_ , typename Output_ > | |
void | tatami_stats::grouped_variances::direct (const Value_ *ptr, Index_ num, const Group_ *group, size_t num_groups, const Index_ *group_size, Output_ *output_means, Output_ *output_variances, bool skip_nan, Index_ *valid_group_size) |
template<typename Value_ , typename Index_ , typename Group_ , typename Output_ > | |
void | tatami_stats::grouped_variances::direct (const Value_ *value, const Index_ *index, Index_ num_nonzero, const Group_ *group, size_t num_groups, const Index_ *group_size, Output_ *output_means, Output_ *output_variances, Index_ *output_nonzero, bool skip_nan, Index_ *valid_group_size) |
template<typename Value_ , typename Index_ , typename Group_ , typename Output_ > | |
void | tatami_stats::grouped_variances::apply (bool row, const tatami::Matrix< Value_, Index_ > *p, const Group_ *group, size_t num_groups, const Index_ *group_size, Output_ **output, const Options &sopt) |
template<typename Output_ = double, typename Value_ , typename Index_ , typename Group_ > | |
std::vector< std::vector< Output_ > > | tatami_stats::grouped_variances::by_row (const tatami::Matrix< Value_, Index_ > *p, const Group_ *group, const Options &sopt) |
template<typename Output_ = double, typename Value_ , typename Index_ , typename Group_ > | |
std::vector< std::vector< Output_ > > | tatami_stats::grouped_variances::by_row (const tatami::Matrix< Value_, Index_ > *p, const Group_ *group) |
template<typename Output_ = double, typename Value_ , typename Index_ , typename Group_ > | |
std::vector< std::vector< Output_ > > | tatami_stats::grouped_variances::by_column (const tatami::Matrix< Value_, Index_ > *p, const Group_ *group, const Options &sopt) |
template<typename Output_ = double, typename Value_ , typename Index_ , typename Group_ > | |
std::vector< std::vector< Output_ > > | tatami_stats::grouped_variances::by_column (const tatami::Matrix< Value_, Index_ > *p, const Group_ *group) |
Compute group-wise variances from a tatami::Matrix
.