Defines | Functions
core/vbl/vbl_attributes.txx File Reference
#include "vbl_attributes.h"
#include <vcl_algorithm.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Defines

#define vbl_attributes_txx_
#define VBL_ATTRIBUTES_INSTANTIATE(T)

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 >
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 >
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_1d< T > const &in)
 median (actually: left-median) of element values.
template<class T >
median (vbl_array_2d< T > const &in)
 median (actually: left-median) of element values.
template<class T >
median (vbl_array_3d< T > const &in)
 median (actually: left-median) of element values.

Detailed Description

Definition in file vbl_attributes.txx.


Define Documentation

#define VBL_ATTRIBUTES_INSTANTIATE (   T)
Value:
template T minval(vbl_array_1d<T >const&); \
template T maxval(vbl_array_1d<T >const&); \
template void bounds(vbl_array_1d<T >const&, T&, T&); \
template T mean(vbl_array_1d<T >const&);   \
template T median(vbl_array_1d<T >const&); \
template T minval(vbl_array_2d<T >const&); \
template T maxval(vbl_array_2d<T >const&); \
template void bounds(vbl_array_2d<T >const&, T&, T&); \
template T mean(vbl_array_2d<T >const&);   \
template T median(vbl_array_2d<T >const&); \
template T minval(vbl_array_3d<T >const&); \
template T maxval(vbl_array_3d<T >const&); \
template void bounds(vbl_array_3d<T >const&, T&, T&); \
template T mean(vbl_array_3d<T >const&); \
template T median(vbl_array_3d<T >const&)

Definition at line 211 of file vbl_attributes.txx.

#define vbl_attributes_txx_

Definition at line 2 of file vbl_attributes.txx.


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 (actually: left-median) of element values.

median of element values.

Definition at line 183 of file vbl_attributes.txx.

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

median (actually: left-median) of element values.

median of element values.

Definition at line 193 of file vbl_attributes.txx.

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

median (actually: left-median) of element values.

median of element values.

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.