tatami_stats
Matrix statistics for tatami
Loading...
Searching...
No Matches
tatami_stats::skip_nan::RssBuffers< Output_, Count_ > Struct Template Reference

Result buffers for skip_nan::rss(). More...

#include <rss.hpp>

Public Attributes

Output_ * mean
 
Output_ * rss
 
Count_ * count
 

Detailed Description

template<typename Output_, typename Count_>
struct tatami_stats::skip_nan::RssBuffers< Output_, Count_ >

Result buffers for skip_nan::rss().

Template Parameters
Output_Floating-point type of the output data. This should be capable of storing NaNs.
Count_Numeric type of the non-NaN counts. This is typically an integer type.

Member Data Documentation

◆ mean

template<typename Output_ , typename Count_ >
Output_* tatami_stats::skip_nan::RssBuffers< Output_, Count_ >::mean

Pointer to an array of length equal to the appropriate dimension extent (rows for row = true, columns otherwise). After skip_nan::rss(), this is filled with the sample mean of each row/column.

◆ rss

template<typename Output_ , typename Count_ >
Output_* tatami_stats::skip_nan::RssBuffers< Output_, Count_ >::rss

Pointer to an array of length equal to the appropriate dimension extent (rows for row = true, columns otherwise). After skip_nan::rss(), this is filled with the RSS of each row/column.

◆ count

template<typename Output_ , typename Count_ >
Count_* tatami_stats::skip_nan::RssBuffers< Output_, Count_ >::count

Pointer to an array of length equal to the appropriate dimension extent (rows for row = true, columns otherwise). After skip_nan::rss(), this is filled with the number of unskipped observations in each row/column.


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