Public Types | Static Public Member Functions | Related Functions | List of all members
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>

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. More...
 
static abs_t two_norm (T const *p, unsigned n)
 two_norm : sqrt of sum of squared abs values. More...
 
static abs_t two_nrm2 (T const *p, unsigned n)
 two_nrm2 : sum of squared abs values. More...
 

Related Functions

(Note that these are not member functions.)

template<class T >
VNL_EXPORT std::ostream & print_na_vector (std::ostream &, T const *, unsigned)
 Input & output. More...
 

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 33 of file vnl_c_na_vector.h.

Member Typedef Documentation

◆ abs_t

template<class T>
typedef vnl_numeric_traits<T>::abs_t vnl_c_na_vector< T >::abs_t

Definition at line 36 of file vnl_c_na_vector.h.

◆ real_t

template<class T>
typedef vnl_numeric_traits<T>::real_t vnl_c_na_vector< T >::real_t

Definition at line 37 of file vnl_c_na_vector.h.

Member Function Documentation

◆ mean()

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

Definition at line 38 of file vnl_c_na_vector.hxx.

◆ one_norm()

template<class T>
static abs_t vnl_c_na_vector< T >::one_norm ( T const *  p,
unsigned  n 
)
inlinestatic

one_norm : sum of abs values.

Definition at line 46 of file vnl_c_na_vector.h.

◆ squared_magnitude()

template<class T>
static abs_t vnl_c_na_vector< T >::squared_magnitude ( T const *  p,
unsigned  n 
)
inlinestatic

Definition at line 40 of file vnl_c_na_vector.h.

◆ sum()

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

Definition at line 22 of file vnl_c_na_vector.hxx.

◆ two_norm()

template<class T>
static abs_t vnl_c_na_vector< T >::two_norm ( T const *  p,
unsigned  n 
)
inlinestatic

two_norm : sqrt of sum of squared abs values.

Definition at line 50 of file vnl_c_na_vector.h.

◆ two_nrm2()

template<class T>
static abs_t vnl_c_na_vector< T >::two_nrm2 ( T const *  p,
unsigned  n 
)
inlinestatic

two_nrm2 : sum of squared abs values.

Definition at line 54 of file vnl_c_na_vector.h.

Friends And Related Function Documentation

◆ print_na_vector()

template<class T >
VNL_EXPORT std::ostream & print_na_vector ( std::ostream &  ,
T const *  ,
unsigned   
)
related

Input & output.


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