#include <vnl_c_vector.h>
Public Types | |
typedef vnl_numeric_traits< T >::abs_t | abs_t |
Static Public Methods | |
T | sum (const T *v, unsigned n) |
abs_t | squared_magnitude (T const *p, unsigned n) |
void | normalize (T *, unsigned n) |
void | apply (T const *, unsigned, T(*f)(T), T *v_out) |
void | apply (T const *, unsigned, T(*f)(const T &), T *v_out) |
void | copy (T const *x, T *y, unsigned) |
void | scale (T const *x, T *y, unsigned, T const &) |
void | add (T const *x, T const *y, T *z, unsigned) |
void | subtract (T const *x, T const *y, T *z, unsigned) |
void | multiply (T const *x, T const *y, T *z, unsigned) |
void | divide (T const *x, T const *y, T *z, unsigned) |
void | negate (T const *x, T *y, unsigned) |
void | invert (T const *x, T *y, unsigned) |
void | saxpy (T const &a, T const *x, T *y, unsigned) |
void | fill (T *x, unsigned, T const &v) |
void | reverse (T *x, unsigned) |
T | dot_product (T const *, T const *, unsigned) |
T | inner_product (T const *, T const *, unsigned) |
void | conjugate (T const *, T *, unsigned) |
T | max_value (T const *, unsigned) |
T | min_value (T const *, unsigned) |
T | mean (T const *p, unsigned n) |
abs_t | one_norm (T const *p, unsigned n) |
abs_t | two_norm (T const *p, unsigned n) |
abs_t | inf_norm (T const *p, unsigned n) |
abs_t | two_nrm2 (T const *p, unsigned n) |
abs_t | rms_norm (T const *p, unsigned n) |
T ** | allocate_Tptr (int n) |
T * | allocate_T (int n) |
void | deallocate (T **, int n_when_allocated) |
void | deallocate (T *, int n_when_allocated) |
Definition at line 31 of file vnl_c_vector.h.
|
Definition at line 33 of file vnl_c_vector.h. |
|
z[i] = x[i] + y[i];. |
|
|
|
Memory allocation. |
|
|
|
|
|
|
|
y[i] = x[i]. |
|
|
|
|
|
z[i] = x[i] / y[i]. |
|
|
|
x[i] = v. |
|
inf_norm : max of abs values. Definition at line 109 of file vnl_c_vector.h. |
|
conjugate second. |
|
y[i] = 1/x[i]. |
|
|
|
Definition at line 94 of file vnl_c_vector.h. References vnl_c_vector_inf_norm(). Referenced by vnl_vector< TVector >::begin(). |
|
Referenced by vnl_vector< TVector >::end(). |
|
z[i] = x[i] * y[i]. |
|
y[i] = -x[i]. |
|
Referenced by vnl_vector< TVector >::end(). |
|
one_norm : sum of abs values. Definition at line 99 of file vnl_c_vector.h. References vnl_c_vector_rms_norm(). |
|
|
|
rms_norm : sqrt of mean sum of squared abs values. Definition at line 119 of file vnl_c_vector.h. Referenced by vnl_vector< TVector >::begin(). |
|
y[i] += a*x[i]. |
|
y[i] = a*x[i]. |
|
Definition at line 36 of file vnl_c_vector.h. |
|
z[i] = x[i] - y[i]. |
|
|
|
two_norm : sqrt of sum of squared abs values. Definition at line 104 of file vnl_c_vector.h. |
|
two_nrm2 : sum of squared abs values. Definition at line 114 of file vnl_c_vector.h. Referenced by vnl_vector< TVector >::data_block(). |