core/vnl/vnl_vector_fixed.h File Reference


Detailed Description

Fixed length stack-stored vector.

The operators are inlined because (1) they are small and (2) we then have less explicit instantiation trouble.

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
04 Aug 96
    Modifications
     LSB Manchester 16/3/01 Binary I/O added
     Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
     Oct.2002 - Amitha Perera - decoupled vnl_vector and vnl_vector_fixed for
                space efficiency, removed necessity for vnl_vector_fixed_ref
     Jun.2003 - Paul Smyth - added as_fixed_ref() to convert to fixed-size ref
                removed duplicate cross_3d
     Jun.2003 - Peter Vanroose - added cross_2d
     Oct.2003 - Peter Vanroose - removed deprecated x(), y(), z(), t()
     Mar.2009 - Peter Vanroose - added arg_min() and arg_max()
   

Definition in file vnl_vector_fixed.h.

#include <vcl_cstring.h>
#include <vcl_cassert.h>
#include <vcl_iosfwd.h>
#include "vnl_vector.h"
#include "vnl_vector_ref.h"
#include <vnl/vnl_c_vector.h>
#include <vnl/vnl_matrix.h>
#include <vnl/vnl_config.h>

Go to the source code of this file.


Classes

class  vnl_vector_fixed< T, n >
 Fixed length stack-stored, space-efficient vector. More...

Functions

template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator+ (const vnl_vector_fixed< T, n > &v, T s)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator+ (const T &s, const vnl_vector_fixed< T, n > &v)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator- (const vnl_vector_fixed< T, n > &v, T s)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator- (const T &s, const vnl_vector_fixed< T, n > &v)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator * (const vnl_vector_fixed< T, n > &v, T s)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator * (const T &s, const vnl_vector_fixed< T, n > &v)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator/ (const vnl_vector_fixed< T, n > &v, T s)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator+ (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_vector< T > operator+ (const vnl_vector_fixed< 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< T, n > &b)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > operator- (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_vector< T > operator- (const vnl_vector_fixed< 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< T, n > &b)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > element_product (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_vector< T > element_product (const vnl_vector_fixed< T, n > &a, const vnl_vector< T > &b)
template<class T, unsigned int n>
vnl_vector< T > element_product (const vnl_vector< T > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_vector_fixed< T, n > element_quotient (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_vector< T > element_quotient (const vnl_vector_fixed< T, n > &a, const vnl_vector< T > &b)
template<class T, unsigned int n>
vnl_vector< T > element_quotient (const vnl_vector< T > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned n>
dot_product (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned n>
dot_product (const vnl_vector_fixed< T, n > &a, const vnl_vector< T > &b)
template<class T, unsigned n>
dot_product (const vnl_vector< T > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_matrix< T > outer_product (const vnl_vector< T > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
vnl_matrix< T > outer_product (const vnl_vector_fixed< T, n > &a, const vnl_vector< T > &b)
template<class T, unsigned n>
angle (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned n>
angle (const vnl_vector_fixed< T, n > &a, const vnl_vector< T > &b)
template<class T, unsigned n>
angle (const vnl_vector< T > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned n>
vnl_vector_ssd (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned n>
vnl_vector_ssd (const vnl_vector_fixed< 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< T, n > &b)
template<class T, unsigned int n>
bool operator== (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
bool operator== (vnl_vector_fixed< T, n > const &a, vnl_vector< T > const &b)
template<class T, unsigned int n>
bool operator== (vnl_vector< T > const &a, vnl_vector_fixed< T, n > const &b)
template<class T, unsigned int n>
bool operator!= (const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
template<class T, unsigned int n>
bool operator!= (vnl_vector_fixed< T, n > const &a, vnl_vector< T > const &b)
template<class T, unsigned int n>
bool operator!= (vnl_vector< T > const &a, vnl_vector_fixed< T, n > const &b)
template<class T, unsigned int n>
vcl_ostream & operator<< (vcl_ostream &ostr, const vnl_vector_fixed< T, n > &v)
template<class T, unsigned int n>
vcl_istream & operator>> (vcl_istream &ostr, vnl_vector_fixed< T, n > &v)

Function Documentation

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

Definition at line 779 of file vnl_vector_fixed.h.

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

Definition at line 770 of file vnl_vector_fixed.h.

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

Definition at line 761 of file vnl_vector_fixed.h.

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

Definition at line 735 of file vnl_vector_fixed.h.

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

Definition at line 726 of file vnl_vector_fixed.h.

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

Definition at line 717 of file vnl_vector_fixed.h.

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

Definition at line 672 of file vnl_vector_fixed.h.

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

Definition at line 660 of file vnl_vector_fixed.h.

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

Definition at line 649 of file vnl_vector_fixed.h.

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

Definition at line 706 of file vnl_vector_fixed.h.

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

Definition at line 694 of file vnl_vector_fixed.h.

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

Definition at line 683 of file vnl_vector_fixed.h.

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

Definition at line 565 of file vnl_vector_fixed.h.

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

Definition at line 555 of file vnl_vector_fixed.h.

template<class T, unsigned int n>
bool operator!= ( vnl_vector< T > const &  a,
vnl_vector_fixed< T, n > const &  b 
) [inline]

Definition at line 859 of file vnl_vector_fixed.h.

template<class T, unsigned int n>
bool operator!= ( vnl_vector_fixed< T, n > const &  a,
vnl_vector< T > const &  b 
) [inline]

Definition at line 850 of file vnl_vector_fixed.h.

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

Definition at line 841 of file vnl_vector_fixed.h.

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

Definition at line 613 of file vnl_vector_fixed.h.

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

Definition at line 604 of file vnl_vector_fixed.h.

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

Definition at line 593 of file vnl_vector_fixed.h.

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

Definition at line 523 of file vnl_vector_fixed.h.

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

Definition at line 513 of file vnl_vector_fixed.h.

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

Definition at line 641 of file vnl_vector_fixed.h.

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

Definition at line 632 of file vnl_vector_fixed.h.

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

Definition at line 621 of file vnl_vector_fixed.h.

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

Definition at line 544 of file vnl_vector_fixed.h.

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

Definition at line 534 of file vnl_vector_fixed.h.

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

Definition at line 576 of file vnl_vector_fixed.h.

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

Definition at line 872 of file vnl_vector_fixed.h.

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

Definition at line 833 of file vnl_vector_fixed.h.

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

Definition at line 824 of file vnl_vector_fixed.h.

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

Definition at line 815 of file vnl_vector_fixed.h.

template<class T, unsigned int n>
vcl_istream & operator>> ( vcl_istream &  ostr,
vnl_vector_fixed< T, n > &  v 
) [inline]

Definition at line 882 of file vnl_vector_fixed.h.

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

Definition at line 753 of file vnl_vector_fixed.h.

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

Definition at line 744 of file vnl_vector_fixed.h.

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

Definition at line 806 of file vnl_vector_fixed.h.

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

Definition at line 797 of file vnl_vector_fixed.h.

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

Definition at line 788 of file vnl_vector_fixed.h.


Generated on Mon Mar 8 05:06:49 2010 for core/vnl by  doxygen 1.5.1