Macros | Functions
vnl_c_na_vector.hxx File Reference
#include <cmath>
#include "vnl_c_na_vector.h"
#include <vnl/vnl_math.h>
#include <vnl/vnl_na.h>
#include <vnl/vnl_complex_traits.h>
#include <vnl/vnl_numeric_traits.h>

Go to the source code of this file.

Macros

#define VNL_C_NA_VECTOR_INSTANTIATE_norm(T, S)
 
#define VNL_C_NA_VECTOR_INSTANTIATE_ordered(T)
 
#define VNL_C_NA_VECTOR_INSTANTIATE_unordered(T)
 

Functions

template<class T , class S >
void vnl_c_na_vector_two_norm_squared (T const *p, unsigned n, S *out)
 
template<class T , class S >
void vnl_c_na_vector_rms_norm (T const *p, unsigned n, S *out)
 
template<class T , class S >
void vnl_c_na_vector_one_norm (T const *p, unsigned n, S *out)
 
template<class T , class S >
void vnl_c_na_vector_two_norm (T const *p, unsigned n, S *out)
 
template<class T , class S >
void vnl_c_na_vector_inf_norm (T const *p, unsigned n, S *out)
 
template<class T >
std::ostream & print_na_vector (std::ostream &s, T const *v, unsigned size)
 Input & output. More...
 

Detailed Description

Author
Andrew W. Fitzgibbon, Ian Scott
Date
3 Nov 2010

Definition in file vnl_c_na_vector.hxx.

Macro Definition Documentation

◆ VNL_C_NA_VECTOR_INSTANTIATE_norm

#define VNL_C_NA_VECTOR_INSTANTIATE_norm (   T,
 
)
Value:
template VNL_EXPORT void vnl_c_na_vector_two_norm_squared(T const *, unsigned, S *); \
template VNL_EXPORT void vnl_c_na_vector_two_norm(T const *, unsigned, S *); \
template VNL_EXPORT void vnl_c_na_vector_one_norm(T const *, unsigned, S *); \
template VNL_EXPORT void vnl_c_na_vector_rms_norm(T const *, unsigned, S *); \
template VNL_EXPORT void vnl_c_na_vector_inf_norm(T const *, unsigned, S *)
void vnl_c_na_vector_two_norm(T const *p, unsigned n, S *out)
void vnl_c_na_vector_rms_norm(T const *p, unsigned n, S *out)
void vnl_c_na_vector_inf_norm(T const *p, unsigned n, S *out)
void vnl_c_na_vector_two_norm_squared(T const *p, unsigned n, S *out)
void vnl_c_na_vector_one_norm(T const *p, unsigned n, S *out)

Definition at line 147 of file vnl_c_na_vector.hxx.

◆ VNL_C_NA_VECTOR_INSTANTIATE_ordered

#define VNL_C_NA_VECTOR_INSTANTIATE_ordered (   T)
Value:
template class vnl_c_na_vector<T >; \
template std::ostream& print_na_vector(std::ostream &,T const *,unsigned)
#define VNL_C_NA_VECTOR_INSTANTIATE_norm(T, S)
vnl_c_na_vector interfaces to NA-aware lowlevel memory-block operations.
vnl_numeric_traits< T >::abs_t abs_t
VNL_EXPORT std::ostream & print_na_vector(std::ostream &, T const *, unsigned)
Input & output.

Definition at line 155 of file vnl_c_na_vector.hxx.

◆ VNL_C_NA_VECTOR_INSTANTIATE_unordered

#define VNL_C_NA_VECTOR_INSTANTIATE_unordered (   T)

Definition at line 162 of file vnl_c_na_vector.hxx.

Function Documentation

◆ print_na_vector()

template<class T >
std::ostream& print_na_vector ( std::ostream &  s,
T const *  v,
unsigned  size 
)

Input & output.

Definition at line 134 of file vnl_c_na_vector.hxx.

◆ vnl_c_na_vector_inf_norm()

template<class T , class S >
void vnl_c_na_vector_inf_norm ( T const *  p,
unsigned  n,
S *  out 
)

Definition at line 114 of file vnl_c_na_vector.hxx.

◆ vnl_c_na_vector_one_norm()

template<class T , class S >
void vnl_c_na_vector_one_norm ( T const *  p,
unsigned  n,
S *  out 
)

Definition at line 89 of file vnl_c_na_vector.hxx.

◆ vnl_c_na_vector_rms_norm()

template<class T , class S >
void vnl_c_na_vector_rms_norm ( T const *  p,
unsigned  n,
S *  out 
)

Definition at line 72 of file vnl_c_na_vector.hxx.

◆ vnl_c_na_vector_two_norm()

template<class T , class S >
void vnl_c_na_vector_two_norm ( T const *  p,
unsigned  n,
S *  out 
)

Definition at line 105 of file vnl_c_na_vector.hxx.

◆ vnl_c_na_vector_two_norm_squared()

template<class T , class S >
void vnl_c_na_vector_two_norm_squared ( T const *  p,
unsigned  n,
S *  out 
)

Definition at line 56 of file vnl_c_na_vector.hxx.