vnl_c_na_vector interfaces to NA-aware lowlevel memory-block operations. More...
#include <vnl_c_na_vector.h>
Public Types | |
typedef vnl_numeric_traits< T > ::abs_t | abs_t |
typedef vnl_numeric_traits< T > ::real_t | real_t |
Static Public Member Functions | |
static T | sum (T const *v, unsigned n) |
static abs_t | squared_magnitude (T const *p, unsigned n) |
static T | mean (T const *p, unsigned n) |
static abs_t | one_norm (T const *p, unsigned n) |
one_norm : sum of abs values. | |
static abs_t | two_norm (T const *p, unsigned n) |
two_norm : sqrt of sum of squared abs values. | |
static abs_t | two_nrm2 (T const *p, unsigned n) |
two_nrm2 : sum of squared abs values. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class T > | |
vcl_ostream & | print_na_vector (vcl_ostream &, T const *, unsigned) |
Input & output. |
vnl_c_na_vector interfaces to NA-aware lowlevel memory-block operations.
Definition at line 36 of file vnl_c_na_vector.h.
typedef vnl_numeric_traits<T>::abs_t vnl_c_na_vector< T >::abs_t |
Definition at line 39 of file vnl_c_na_vector.h.
typedef vnl_numeric_traits<T>::real_t vnl_c_na_vector< T >::real_t |
Definition at line 40 of file vnl_c_na_vector.h.
T vnl_c_na_vector< T >::mean | ( | T const * | p, |
unsigned | n | ||
) | [static] |
Definition at line 35 of file vnl_c_na_vector.txx.
static abs_t vnl_c_na_vector< T >::one_norm | ( | T const * | p, |
unsigned | n | ||
) | [inline, static] |
one_norm : sum of abs values.
Definition at line 121 of file vnl_c_na_vector.h.
static abs_t vnl_c_na_vector< T >::squared_magnitude | ( | T const * | p, |
unsigned | n | ||
) | [inline, static] |
Definition at line 43 of file vnl_c_na_vector.h.
T vnl_c_na_vector< T >::sum | ( | T const * | v, |
unsigned | n | ||
) | [static] |
Definition at line 19 of file vnl_c_na_vector.txx.
static abs_t vnl_c_na_vector< T >::two_norm | ( | T const * | p, |
unsigned | n | ||
) | [inline, static] |
two_norm : sqrt of sum of squared abs values.
Definition at line 125 of file vnl_c_na_vector.h.
static abs_t vnl_c_na_vector< T >::two_nrm2 | ( | T const * | p, |
unsigned | n | ||
) | [inline, static] |
two_nrm2 : sum of squared abs values.
Definition at line 129 of file vnl_c_na_vector.h.
vcl_ostream & print_na_vector | ( | vcl_ostream & | , |
T const * | , | ||
unsigned | |||
) | [related] |
Input & output.