tatami_stats
Matrix statistics for tatami
Loading...
Searching...
No Matches
variance.hpp File Reference

Compute row and column variances from a tatami::Matrix. More...

Go to the source code of this file.

Classes

struct  tatami_stats::VarianceOptions
 Options for variance(). More...
 
struct  tatami_stats::VarianceBuffers< Output_ >
 Result buffers for variance(). More...
 
struct  tatami_stats::VarianceResult< Output_ >
 Results of variance(). More...
 

Namespaces

namespace  tatami_stats
 Functions to compute statistics from a tatami::Matrix.
 

Functions

template<typename Value_ , typename Index_ , typename Output_ >
void tatami_stats::variance (bool row, const tatami::Matrix< Value_, Index_ > &mat, VarianceBuffers< Output_ > &output, const VarianceOptions &opt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
VarianceResult< Output_ > tatami_stats::variance (bool row, const tatami::Matrix< Value_, Index_ > &mat, const VarianceOptions &opt)
 

Detailed Description

Compute row and column variances from a tatami::Matrix.