SPH
Public Member Functions | List of all members
ArrayStats< Type > Class Template Reference

#include <ArrayStats.h>

Public Member Functions

 ArrayStats (ArrayView< const Type > values)
 
INLINE Type min () const
 
INLINE Type max () const
 
INLINE Interval range () const
 
INLINE Type average () const
 
INLINE Type median () const
 
void write (ILogger &logger)
 

Detailed Description

template<typename Type>
class ArrayStats< Type >

Definition at line 12 of file ArrayStats.h.

Constructor & Destructor Documentation

◆ ArrayStats()

template<typename Type >
ArrayStats< Type >::ArrayStats ( ArrayView< const Type >  values)
inline
Todo:
flags for each stat

Definition at line 21 of file ArrayStats.h.

Member Function Documentation

◆ average()

template<typename Type >
INLINE Type ArrayStats< Type >::average ( ) const
inline

Definition at line 50 of file ArrayStats.h.

◆ max()

template<typename Type >
INLINE Type ArrayStats< Type >::max ( ) const
inline

Definition at line 42 of file ArrayStats.h.

◆ median()

template<typename Type >
INLINE Type ArrayStats< Type >::median ( ) const
inline

Definition at line 54 of file ArrayStats.h.

◆ min()

template<typename Type >
INLINE Type ArrayStats< Type >::min ( ) const
inline

Definition at line 38 of file ArrayStats.h.

◆ range()

template<typename Type >
INLINE Interval ArrayStats< Type >::range ( ) const
inline

Definition at line 46 of file ArrayStats.h.

◆ write()

template<typename Type >
void ArrayStats< Type >::write ( ILogger logger)
inline

Definition at line 58 of file ArrayStats.h.


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