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

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

Go to the source code of this file.

Classes

struct  tatami_stats::quantiles::Options
 Quantile calculation options. More...
 

Namespaces

namespace  tatami_stats
 Functions to compute statistics from a tatami::Matrix.
 
namespace  tatami_stats::quantiles
 Functions for computing dimension-wise quantiles.
 

Functions

template<typename Value_ , typename Index_ , typename Output_ >
void tatami_stats::quantiles::apply (bool row, const tatami::Matrix< Value_, Index_ > &mat, const double quantile, Output_ *output, const Options &qopt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::vector< Output_ > tatami_stats::quantiles::by_column (const tatami::Matrix< Value_, Index_ > &mat, const double quantile, const Options &qopt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::vector< Output_ > tatami_stats::quantiles::by_row (const tatami::Matrix< Value_, Index_ > &mat, const double quantile, const Options &qopt)
 

Detailed Description

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