tatami_stats
Matrix statistics for tatami
Loading...
Searching...
No Matches
tatami_stats::GroupRssBuffers< Output_ > Struct Template Reference

Result buffers for group_rss(). More...

#include <group_rss.hpp>

Public Attributes

std::vector< Output_ * > mean
 
std::vector< Output_ * > rss
 

Detailed Description

template<typename Output_>
struct tatami_stats::GroupRssBuffers< Output_ >

Result buffers for group_rss().

Template Parameters
Output_Floating-point type of the output data.

Member Data Documentation

◆ mean

template<typename Output_ >
std::vector<Output_*> tatami_stats::GroupRssBuffers< Output_ >::mean

Vector of length equal to the number of groups. Each element is a pointer to an array of length equal to the appropriate dimension extent (rows for row = true, columns otherwise). After group_rss(), this is filled with the sample mean of each row/column for the corresponding group.

◆ rss

template<typename Output_ >
std::vector<Output_*> tatami_stats::GroupRssBuffers< Output_ >::rss

Vector of length equal to the number of groups. Each element is a pointer to an array of length equal to the appropriate dimension extent (rows for row = true, columns otherwise). After group_rss(), this is filled with the residual sum of squares of each row/column for the corresponding group.


The documentation for this struct was generated from the following file: