SPH
Classes | Typedefs
Means.h File Reference

Computing minimum, maximum and mean value of floats. More...

#include "objects/geometry/Generic.h"
#include "objects/wrappers/Interval.h"

Go to the source code of this file.

Classes

class  GeneralizedMean< Power >
 Generalized mean with fixed (compile-time) power. More...
 
class  GeneralizedMean< 0 >
 Geometric mean has to be specialized. More...
 
class  PositiveMean
 Generalized mean with positive (runtime) power. More...
 
class  NegativeMean
 Generalized mean with negative (runtime) power. More...
 
class  MinMaxMean
 Helper class for statistics, accumulating minimal, maximal and mean value of a set of numbers. More...
 

Typedefs

using ArithmeticMean = GeneralizedMean< 1 >
 Aliases. More...
 
using HarmonicMean = GeneralizedMean<-1 >
 
using GeometricMean = GeneralizedMean< 0 >
 

Detailed Description

Computing minimum, maximum and mean value of floats.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Means.h.

Typedef Documentation

◆ ArithmeticMean

Aliases.

Definition at line 84 of file Means.h.

◆ GeometricMean

Definition at line 86 of file Means.h.

◆ HarmonicMean

Definition at line 85 of file Means.h.