Defines | Functions
core/vnl/vnl_c_na_vector.txx File Reference
#include "vnl_c_na_vector.h"
#include <vcl_cmath.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.

Defines

#define vnl_c_na_vector_txx_
#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 >
vcl_ostream & print_na_vector (vcl_ostream &s, T const *v, unsigned size)
 Input & output.

Detailed Description

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

Definition in file vnl_c_na_vector.txx.


Define Documentation

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

Definition at line 144 of file vnl_c_na_vector.txx.

#define VNL_C_NA_VECTOR_INSTANTIATE_ordered (   T)
Value:
VNL_C_NA_VECTOR_INSTANTIATE_norm(T, vnl_c_na_vector<T >::abs_t); \
template class vnl_c_na_vector<T >; \
template vcl_ostream& print_na_vector(vcl_ostream &,T const *,unsigned)

Definition at line 152 of file vnl_c_na_vector.txx.

#define VNL_C_NA_VECTOR_INSTANTIATE_unordered (   T)

Definition at line 159 of file vnl_c_na_vector.txx.

#define vnl_c_na_vector_txx_

Definition at line 3 of file vnl_c_na_vector.txx.


Function Documentation

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

Input & output.

Definition at line 131 of file vnl_c_na_vector.txx.

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

Definition at line 111 of file vnl_c_na_vector.txx.

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

Definition at line 86 of file vnl_c_na_vector.txx.

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

Definition at line 69 of file vnl_c_na_vector.txx.

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

Definition at line 102 of file vnl_c_na_vector.txx.

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

Definition at line 53 of file vnl_c_na_vector.txx.