Classes | Functions
core/vnl/vnl_vector_fixed_ref.h File Reference

Fixed size vnl_vector using user-supplied storage See vnl_matrix_fixed_ref for rationale. More...

#include <vcl_cassert.h>
#include <vnl/vnl_vector_fixed.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  vnl_vector_fixed_ref_const< T, n >
class  vnl_vector_fixed_ref< T, n >

Functions

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator+ (const vnl_vector_fixed_ref_const< T, n > &v, T s)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator+ (T s, const vnl_vector_fixed_ref_const< T, n > &v)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator- (const vnl_vector_fixed_ref_const< T, n > &v, T s)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator- (T s, const vnl_vector_fixed_ref_const< T, n > &v)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator* (const vnl_vector_fixed_ref_const< T, n > &v, T s)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator* (T s, const vnl_vector_fixed_ref_const< T, n > &v)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator/ (const vnl_vector_fixed_ref_const< T, n > &v, T s)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator+ (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator- (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > element_product (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > element_quotient (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T >
vnl_vector_fixed< T, 3 > vnl_cross_3d (vnl_vector_fixed_ref_const< T, 3 > const &v1, vnl_vector_fixed_ref_const< T, 3 > const &v2)
template<class T , unsigned int n>
vnl_vector< T > operator+ (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned int n>
vnl_vector< T > operator+ (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_vector< T > operator- (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned int n>
vnl_vector< T > operator- (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned n>
dot_product (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned n>
dot_product (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned n>
dot_product (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int m, unsigned int n>
vnl_matrix_fixed< T, m, n > outer_product (const vnl_vector_fixed_ref_const< T, m > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > vnl_cross_3d (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned int n>
vnl_vector_fixed< T, n > vnl_cross_3d (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_matrix< T > outer_product (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vnl_matrix< T > outer_product (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned n>
angle (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned n>
angle (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned n>
angle (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned n>
vnl_vector_ssd (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned n>
vnl_vector_ssd (const vnl_vector_fixed_ref_const< T, n > &a, const vnl_vector< T > &b)
template<class T , unsigned n>
vnl_vector_ssd (const vnl_vector< T > &a, const vnl_vector_fixed_ref_const< T, n > &b)
template<class T , unsigned int n>
vcl_ostream & operator<< (vcl_ostream &o, const vnl_vector_fixed_ref_const< T, n > &v)
template<class T , unsigned int n>
vcl_istream & operator>> (vcl_istream &i, const vnl_vector_fixed_ref< T, n > &v)

Detailed Description

Fixed size vnl_vector using user-supplied storage See vnl_matrix_fixed_ref for rationale.

See also vnl_vector_ref, vnl_vector_fixed

Author:
Paul P. Smyth, Vicon Motion Systems Ltd.
Date:
02 May 2001
    Modifications
      4-Jul-2003 - Paul Smyth - general cleanup and rewrite; interface now as vnl_vector_fixed
     30-Mar-2009 - Peter Vanroose - added arg_min() and arg_max()
     24-Oct-2010 - Peter Vanroose - mutators and setters now return *this
   

Definition in file vnl_vector_fixed_ref.h.


Function Documentation

template<class T , unsigned n>
T angle ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 629 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T angle ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 635 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T angle ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 641 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T dot_product ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 579 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T dot_product ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 585 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T dot_product ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 591 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed<T,n> element_product ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 523 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed<T,n> element_quotient ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 531 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator* ( const vnl_vector_fixed_ref_const< T, n > &  v,
s 
) [inline]

Definition at line 475 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator* ( s,
const vnl_vector_fixed_ref_const< T, n > &  v 
) [inline]

Definition at line 484 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator+ ( const vnl_vector_fixed_ref_const< T, n > &  v,
s 
) [inline]

Definition at line 439 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator+ ( s,
const vnl_vector_fixed_ref_const< T, n > &  v 
) [inline]

Definition at line 448 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator+ ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 506 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector<T> operator+ ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 554 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector<T> operator+ ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 560 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator- ( const vnl_vector_fixed_ref_const< T, n > &  v,
s 
) [inline]

Definition at line 457 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator- ( s,
const vnl_vector_fixed_ref_const< T, n > &  v 
) [inline]

Definition at line 466 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator- ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 515 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector<T> operator- ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 566 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector<T> operator- ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 572 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed< T, n > operator/ ( const vnl_vector_fixed_ref_const< T, n > &  v,
s 
) [inline]

Definition at line 493 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vcl_ostream & operator<< ( vcl_ostream &  o,
const vnl_vector_fixed_ref_const< T, n > &  v 
) [inline]

Definition at line 672 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vcl_istream & operator>> ( vcl_istream &  i,
const vnl_vector_fixed_ref< T, n > &  v 
) [inline]

Definition at line 681 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int m, unsigned int n>
vnl_matrix_fixed<T,m,n> outer_product ( const vnl_vector_fixed_ref_const< T, m > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 597 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_matrix<T> outer_product ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 617 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_matrix<T> outer_product ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 623 of file vnl_vector_fixed_ref.h.

template<class T >
vnl_vector_fixed<T,3> vnl_cross_3d ( vnl_vector_fixed_ref_const< T, 3 > const &  v1,
vnl_vector_fixed_ref_const< T, 3 > const &  v2 
)

Definition at line 539 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed<T,n> vnl_cross_3d ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 607 of file vnl_vector_fixed_ref.h.

template<class T , unsigned int n>
vnl_vector_fixed<T,n> vnl_cross_3d ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 612 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T vnl_vector_ssd ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 648 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T vnl_vector_ssd ( const vnl_vector_fixed_ref_const< T, n > &  a,
const vnl_vector< T > &  b 
) [inline]

Definition at line 654 of file vnl_vector_fixed_ref.h.

template<class T , unsigned n>
T vnl_vector_ssd ( const vnl_vector< T > &  a,
const vnl_vector_fixed_ref_const< T, n > &  b 
) [inline]

Definition at line 660 of file vnl_vector_fixed_ref.h.