Functions
core/vbl/vbl_attributes.h File Reference

Find summary attributes of an array. More...

#include <vbl/vbl_array_1d.h>
#include <vbl/vbl_array_2d.h>
#include <vbl/vbl_array_3d.h>

Go to the source code of this file.

Functions

template<class T >
minval (vbl_array_1d< T > const &in)
 minimum element value.
template<class T >
maxval (vbl_array_1d< T > const &in)
 maximum element value.
template<class T >
void bounds (vbl_array_1d< T > const &in, T &min, T &max)
 min max bounds.
template<class T >
mean (vbl_array_1d< T > const &in)
 mean of element values.
template<class T >
median (vbl_array_1d< T > const &in)
 median of element values.
template<class T >
minval (vbl_array_2d< T > const &in)
 minimum element value.
template<class T >
maxval (vbl_array_2d< T > const &in)
 maximum element value.
template<class T >
void bounds (vbl_array_2d< T > const &in, T &min, T &max)
 min max bounds.
template<class T >
mean (vbl_array_2d< T > const &in)
 mean of element values.
template<class T >
median (vbl_array_2d< T > const &in)
 median of element values.
template<class T >
minval (vbl_array_3d< T > const &in)
 minimum element value.
template<class T >
maxval (vbl_array_3d< T > const &in)
 maximum element value.
template<class T >
void bounds (vbl_array_3d< T > const &in, T &min, T &max)
 min max bounds.
template<class T >
mean (vbl_array_3d< T > const &in)
 mean of element values.
template<class T >
median (vbl_array_3d< T > const &in)
 median of element values.

Detailed Description

Find summary attributes of an array.

Author:
J.L. Mundy October 5, 2010
    Modifications
     Oct 7, 2010 - Peter Vanroose - Added the median
   

Definition in file vbl_attributes.h.


Function Documentation

template<class T >
void bounds ( vbl_array_1d< T > const &  in,
T &  min,
T &  max 
)

min max bounds.

Definition at line 42 of file vbl_attributes.txx.

template<class T >
void bounds ( vbl_array_2d< T > const &  in,
T &  min,
T &  max 
)

min max bounds.

Definition at line 99 of file vbl_attributes.txx.

template<class T >
void bounds ( vbl_array_3d< T > const &  in,
T &  min,
T &  max 
)

min max bounds.

Definition at line 156 of file vbl_attributes.txx.

template<class T >
T maxval ( vbl_array_1d< T > const &  in)

maximum element value.

Definition at line 28 of file vbl_attributes.txx.

template<class T >
T maxval ( vbl_array_2d< T > const &  in)

maximum element value.

Definition at line 85 of file vbl_attributes.txx.

template<class T >
T maxval ( vbl_array_3d< T > const &  in)

maximum element value.

Definition at line 142 of file vbl_attributes.txx.

template<class T >
T mean ( vbl_array_1d< T > const &  in)

mean of element values.

Definition at line 56 of file vbl_attributes.txx.

template<class T >
T mean ( vbl_array_2d< T > const &  in)

mean of element values.

Definition at line 113 of file vbl_attributes.txx.

template<class T >
T mean ( vbl_array_3d< T > const &  in)

mean of element values.

Definition at line 170 of file vbl_attributes.txx.

template<class T >
T median ( vbl_array_1d< T > const &  in)

median of element values.

Actually, the "left median" is returned: it's always a value from the array, which for even-sized arrays is a "left-biased" or better said, a "smaller-biased" middle entry from the array.

Definition at line 183 of file vbl_attributes.txx.

template<class T >
T median ( vbl_array_2d< T > const &  in)

median of element values.

Actually, the "left median" is returned: it's always a value from the array, which for even-sized arrays is a "left-biased" or better said, a "smaller-biased" middle entry from the array.

Definition at line 193 of file vbl_attributes.txx.

template<class T >
T median ( vbl_array_3d< T > const &  in)

median of element values.

Actually, the "left median" is returned: it's always a value from the array, which for even-sized arrays is a "left-biased" or better said, a "smaller-biased" middle entry from the array.

Definition at line 203 of file vbl_attributes.txx.

template<class T >
T minval ( vbl_array_1d< T > const &  in)

minimum element value.

Definition at line 14 of file vbl_attributes.txx.

template<class T >
T minval ( vbl_array_2d< T > const &  in)

minimum element value.

Definition at line 71 of file vbl_attributes.txx.

template<class T >
T minval ( vbl_array_3d< T > const &  in)

minimum element value.

Definition at line 128 of file vbl_attributes.txx.