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