Macros | Functions
vbl_attributes.hxx File Reference
#include <algorithm>
#include "vbl_attributes.h"
#include <cassert>

Go to the source code of this file.

Macros

#define VBL_ATTRIBUTES_INSTANTIATE(T)
 

Functions

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

Macro Definition Documentation

◆ VBL_ATTRIBUTES_INSTANTIATE

#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&)
simple 2D array.
Definition: vbl_array_2d.h:25
A simple container.
Definition: vbl_array_1d.h:28
T minval(vbl_array_1d< T > const &in)
minimum element value.
T median(vbl_array_1d< T > const &in)
median (actually: left-median) of element values.
Templated 3-dimensional array.
Definition: vbl_array_3d.h:38
void bounds(vbl_array_1d< T > const &in, T &min, T &max)
min max bounds.
T maxval(vbl_array_1d< T > const &in)
maximum element value.
T mean(vbl_array_1d< T > const &in)
mean of element values.

Definition at line 214 of file vbl_attributes.hxx.

Function Documentation

◆ bounds() [1/3]

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

min max bounds.

Definition at line 45 of file vbl_attributes.hxx.

◆ bounds() [2/3]

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

min max bounds.

Definition at line 102 of file vbl_attributes.hxx.

◆ bounds() [3/3]

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

min max bounds.

Definition at line 159 of file vbl_attributes.hxx.

◆ maxval() [1/3]

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

maximum element value.

Definition at line 31 of file vbl_attributes.hxx.

◆ maxval() [2/3]

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

maximum element value.

Definition at line 88 of file vbl_attributes.hxx.

◆ maxval() [3/3]

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

maximum element value.

Definition at line 145 of file vbl_attributes.hxx.

◆ mean() [1/3]

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

mean of element values.

Definition at line 59 of file vbl_attributes.hxx.

◆ mean() [2/3]

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

mean of element values.

Definition at line 116 of file vbl_attributes.hxx.

◆ mean() [3/3]

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

mean of element values.

Definition at line 173 of file vbl_attributes.hxx.

◆ median() [1/3]

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 186 of file vbl_attributes.hxx.

◆ median() [2/3]

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 196 of file vbl_attributes.hxx.

◆ median() [3/3]

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 206 of file vbl_attributes.hxx.

◆ minval() [1/3]

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

minimum element value.

Definition at line 17 of file vbl_attributes.hxx.

◆ minval() [2/3]

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

minimum element value.

Definition at line 74 of file vbl_attributes.hxx.

◆ minval() [3/3]

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

minimum element value.

Definition at line 131 of file vbl_attributes.hxx.