Classes | Functions
vnl_vector_fixed_ref.h File Reference

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

#include <iosfwd>
#include <cassert>
#include <vnl/vnl_vector_fixed.h>
#include "vnl/vnl_export.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>
std::ostream & operator<< (std::ostream &o, const vnl_vector_fixed_ref_const< T, n > &v)
 
template<class T , unsigned int n>
std::istream & operator>> (std::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

◆ angle() [1/3]

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 633 of file vnl_vector_fixed_ref.h.

◆ angle() [2/3]

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 639 of file vnl_vector_fixed_ref.h.

◆ angle() [3/3]

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 645 of file vnl_vector_fixed_ref.h.

◆ dot_product() [1/3]

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 583 of file vnl_vector_fixed_ref.h.

◆ dot_product() [2/3]

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 589 of file vnl_vector_fixed_ref.h.

◆ dot_product() [3/3]

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 595 of file vnl_vector_fixed_ref.h.

◆ element_product()

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 527 of file vnl_vector_fixed_ref.h.

◆ element_quotient()

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 535 of file vnl_vector_fixed_ref.h.

◆ operator *() [1/2]

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 479 of file vnl_vector_fixed_ref.h.

◆ operator *() [2/2]

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 488 of file vnl_vector_fixed_ref.h.

◆ operator+() [1/5]

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 443 of file vnl_vector_fixed_ref.h.

◆ operator+() [2/5]

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 452 of file vnl_vector_fixed_ref.h.

◆ operator+() [3/5]

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 510 of file vnl_vector_fixed_ref.h.

◆ operator+() [4/5]

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 558 of file vnl_vector_fixed_ref.h.

◆ operator+() [5/5]

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 564 of file vnl_vector_fixed_ref.h.

◆ operator-() [1/5]

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 461 of file vnl_vector_fixed_ref.h.

◆ operator-() [2/5]

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 470 of file vnl_vector_fixed_ref.h.

◆ operator-() [3/5]

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 519 of file vnl_vector_fixed_ref.h.

◆ operator-() [4/5]

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 570 of file vnl_vector_fixed_ref.h.

◆ operator-() [5/5]

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 576 of file vnl_vector_fixed_ref.h.

◆ operator/()

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 497 of file vnl_vector_fixed_ref.h.

◆ operator<<()

template<class T , unsigned int n>
std::ostream & operator<< ( std::ostream &  o,
const vnl_vector_fixed_ref_const< T, n > &  v 
)
inline

Definition at line 676 of file vnl_vector_fixed_ref.h.

◆ operator>>()

template<class T , unsigned int n>
std::istream & operator>> ( std::istream &  i,
const vnl_vector_fixed_ref< T, n > &  v 
)
inline

Definition at line 685 of file vnl_vector_fixed_ref.h.

◆ outer_product() [1/3]

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 601 of file vnl_vector_fixed_ref.h.

◆ outer_product() [2/3]

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 621 of file vnl_vector_fixed_ref.h.

◆ outer_product() [3/3]

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 627 of file vnl_vector_fixed_ref.h.

◆ vnl_cross_3d() [1/3]

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 543 of file vnl_vector_fixed_ref.h.

◆ vnl_cross_3d() [2/3]

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 611 of file vnl_vector_fixed_ref.h.

◆ vnl_cross_3d() [3/3]

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 616 of file vnl_vector_fixed_ref.h.

◆ vnl_vector_ssd() [1/3]

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 652 of file vnl_vector_fixed_ref.h.

◆ vnl_vector_ssd() [2/3]

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 658 of file vnl_vector_fixed_ref.h.

◆ vnl_vector_ssd() [3/3]

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 664 of file vnl_vector_fixed_ref.h.