Fermat
Public Methods | Public Members | List of all members
cugar::Variance_estimator< T > Struct Template Reference

Detailed description

template<typename T>
struct cugar::Variance_estimator< T >

An implementation of a robust online variance estimator, using Welford's algorithm

#include <variance.h>

Public Methods

CUGAR_HOST_DEVICE Variance_estimatoroperator= (const Variance_estimator &other)
 
CUGAR_HOST_DEVICE Variance_estimatoroperator+= (const float x)
 
CUGAR_HOST_DEVICE float mean () const
 
CUGAR_HOST_DEVICE float variance () const
 

Public Members

m_mean
 
m_M2
 
float m_n
 

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