Public Types | Static Public Member Functions | Related Functions
vnl_c_na_vector< T > Class Template Reference

vnl_c_na_vector interfaces to NA-aware lowlevel memory-block operations. More...

#include <vnl_c_na_vector.h>

List of all members.

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.

Detailed Description

template<class T>
class vnl_c_na_vector< T >

vnl_c_na_vector interfaces to NA-aware lowlevel memory-block operations.

Definition at line 36 of file vnl_c_na_vector.h.


Member Typedef Documentation

template<class T >
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.

template<class T >
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.


Member Function Documentation

template<class T >
T vnl_c_na_vector< T >::mean ( T const *  p,
unsigned  n 
) [static]

Definition at line 35 of file vnl_c_na_vector.txx.

template<class T >
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.

template<class T >
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.

template<class T >
T vnl_c_na_vector< T >::sum ( T const *  v,
unsigned  n 
) [static]

Definition at line 19 of file vnl_c_na_vector.txx.

template<class T >
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.

template<class T >
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.


Friends And Related Function Documentation

template<class T >
vcl_ostream & print_na_vector ( vcl_ostream &  ,
T const *  ,
unsigned   
) [related]

Input & output.


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