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

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

Go to the source code of this file.

Classes

struct  tatami_stats::MedianOptions
 Options for median(). More...
 

Namespaces

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

Functions

template<typename Value_ , typename Index_ , typename Output_ >
void tatami_stats::median (const bool row, const tatami::Matrix< Value_, Index_ > &mat, Output_ *const output, const MedianOptions &opt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::vector< Output_ > tatami_stats::median (const bool row, const tatami::Matrix< Value_, Index_ > &mat, const MedianOptions &opt)
 

Detailed Description

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