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

Compute group-wise residual sum of squares from a tatami::Matrix. More...

Go to the source code of this file.

Classes

struct  tatami_stats::GroupRssOptions
 Options for group_rss(). More...
 
struct  tatami_stats::GroupRssBuffers< Output_, Count_ >
 Result buffers for group_rss(). More...
 
struct  tatami_stats::GroupRssResult< Output_, Count_ >
 Results of group_rss(). More...
 

Namespaces

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

Functions

template<typename Value_ , typename Index_ , typename Group_ , typename Output_ , typename Count_ >
void tatami_stats::group_rss (bool row, const tatami::Matrix< Value_, Index_ > &mat, const Group_ *const group, const std::size_t num_groups, GroupRssBuffers< Output_, Count_ > &output, const GroupRssOptions &opt)
 
template<typename Output_ , typename Count_ , typename Value_ , typename Index_ , typename Group_ >
GroupRssResult< Output_, Count_ > tatami_stats::group_rss (bool row, const tatami::Matrix< Value_, Index_ > &mat, const Group_ *const group, const std::size_t num_groups, const GroupRssOptions &opt)
 

Detailed Description

Compute group-wise residual sum of squares from a tatami::Matrix.