Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
mygsl::weighted_mean Class Reference

Weighted mean computing algorithm. More...

#include <bayeux/mygsl/mean.h>

Public Member Functions

bool is_valid () const
 
double get_weight () const
 
double get_weighted_sum () const
 
double get_mean () const
 
 weighted_mean ()
 
void reset ()
 
void add (double value_, double weight_)
 

Detailed Description

Weighted mean computing algorithm.

Constructor & Destructor Documentation

◆ weighted_mean()

mygsl::weighted_mean::weighted_mean ( )

Member Function Documentation

◆ add()

void mygsl::weighted_mean::add ( double  value_,
double  weight_ 
)

◆ get_mean()

double mygsl::weighted_mean::get_mean ( ) const

◆ get_weight()

double mygsl::weighted_mean::get_weight ( ) const

◆ get_weighted_sum()

double mygsl::weighted_mean::get_weighted_sum ( ) const

◆ is_valid()

bool mygsl::weighted_mean::is_valid ( ) const

◆ reset()

void mygsl::weighted_mean::reset ( )

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