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

Result buffers for variance(). More...

#include <variance.hpp>

Public Attributes

Output_ * mean
 
Output_ * variance
 

Detailed Description

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

Result buffers for variance().

Template Parameters
Output_Floating-point type of the output data. This should be capable of storing NaNs.

Member Data Documentation

◆ mean

template<typename Output_ >
Output_* tatami_stats::VarianceBuffers< Output_ >::mean

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

◆ variance

template<typename Output_ >
Output_* tatami_stats::VarianceBuffers< Output_ >::variance

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


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