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

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

Go to the source code of this file.

Classes

struct  tatami_stats::CountOptions
 Options for count(). More...
 

Namespaces

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

Functions

template<typename Value_ , typename Index_ , typename Output_ , class Condition_ >
void tatami_stats::count (const bool row, const tatami::Matrix< Value_, Index_ > &mat, Output_ *const output, Condition_ condition, const CountOptions &opt)
 
template<typename Output_ , typename Value_ , typename Index_ , class Condition_ >
std::vector< Output_ > tatami_stats::count (const bool row, const tatami::Matrix< Value_, Index_ > &mat, Condition_ condition, const CountOptions &opt)
 

Detailed Description

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