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

Results of group_variance(). More...

#include <group_variance.hpp>

Public Attributes

std::vector< std::vector< Output_ > > mean
 
std::vector< std::vector< Output_ > > variance
 

Detailed Description

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

Results of group_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_ >
std::vector<std::vector<Output_> > tatami_stats::GroupVarianceResult< Output_ >::mean

Vector of length equal to the number of groups. Each element is a vector of length equal to the appropriate dimension extent (rows for row = true, columns otherwise), containing the sample mean of each row/column.

◆ variance

template<typename Output_ >
std::vector<std::vector<Output_> > tatami_stats::GroupVarianceResult< Output_ >::variance

Vector of length equal to the number of groups. Each element is a vector of length equal to the appropriate dimension extent (rows for row = true, columns otherwise), containing the sample variance of each row/column.


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