tatami_stats
Matrix statistics for tatami
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
ranges.hpp File Reference

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

Go to the source code of this file.

Classes

struct  tatami_stats::ranges::Options
 Range calculation options. More...
 
class  tatami_stats::ranges::RunningDense< minimum_, Output_, Value_, Index_ >
 Running minima/maxima from dense data. More...
 
class  tatami_stats::ranges::RunningSparse< minimum_, Output_, Value_, Index_ >
 Running minima/maxima from sparse data. More...
 

Namespaces

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

Functions

template<bool minimum_, typename Value_ , typename Index_ >
Value_ tatami_stats::ranges::direct (const Value_ *ptr, Index_ num, bool skip_nan)
 
template<bool minimum_, typename Value_ , typename Index_ >
Value_ tatami_stats::ranges::direct (const Value_ *value, Index_ num_nonzero, Index_ num_all, bool skip_nan)
 
template<typename Value_ , typename Index_ , typename Output_ >
void tatami_stats::ranges::apply (bool row, const tatami::Matrix< Value_, Index_ > *p, Output_ *min_out, Output_ *max_out, const Options &ropt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::pair< std::vector< Output_ >, std::vector< Output_ > > tatami_stats::ranges::by_column (const tatami::Matrix< Value_, Index_ > *p, const Options &ropt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::pair< std::vector< Output_ >, std::vector< Output_ > > tatami_stats::ranges::by_column (const tatami::Matrix< Value_, Index_ > *p)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::pair< std::vector< Output_ >, std::vector< Output_ > > tatami_stats::ranges::by_row (const tatami::Matrix< Value_, Index_ > *p, const Options &ropt)
 
template<typename Output_ = double, typename Value_ , typename Index_ >
std::pair< std::vector< Output_ >, std::vector< Output_ > > tatami_stats::ranges::by_row (const tatami::Matrix< Value_, Index_ > *p)
 

Detailed Description

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