SPH
Public Member Functions | Friends | List of all members
GeneralizedMean< 0 > Class Reference

Geometric mean has to be specialized. More...

#include <Means.h>

Public Member Functions

 GeneralizedMean ()=default
 
INLINE void accumulate (const Float value)
 
INLINE void reset ()
 
INLINE Float compute () const
 
INLINE Size count () const
 

Friends

std::ostream & operator<< (std::ostream &stream, const GeneralizedMean &stats)
 

Detailed Description

Geometric mean has to be specialized.

Definition at line 50 of file Means.h.

Constructor & Destructor Documentation

◆ GeneralizedMean()

GeneralizedMean< 0 >::GeneralizedMean ( )
default

Member Function Documentation

◆ accumulate()

INLINE void GeneralizedMean< 0 >::accumulate ( const Float  value)
inline

Definition at line 58 of file Means.h.

◆ compute()

INLINE Float GeneralizedMean< 0 >::compute ( ) const
inline

Definition at line 68 of file Means.h.

◆ count()

INLINE Size GeneralizedMean< 0 >::count ( ) const
inline

Definition at line 72 of file Means.h.

◆ reset()

INLINE void GeneralizedMean< 0 >::reset ( )
inline

Definition at line 63 of file Means.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const GeneralizedMean< 0 > &  stats 
)
friend

Definition at line 76 of file Means.h.


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