Functions
vnl_operators.h File Reference

Various operators for templated vnl classes. More...

#include <vnl/vnl_vector.h>
#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix.h>
#include <vnl/vnl_matrix_fixed.h>
#include "vnl/vnl_export.h"

Go to the source code of this file.

Functions

template<class T >
VNL_EXPORT bool operator< (vnl_vector< T > const &lhs, vnl_vector< T > const &rhs)
 Define a complete ordering on vnl_vector. More...
 
template<class T >
VNL_EXPORT bool operator< (vnl_matrix< T > const &lhs, vnl_matrix< T > const &rhs)
 Define a complete ordering on vnl_matrix. More...
 
template<class T , unsigned int n>
VNL_EXPORT bool operator< (vnl_vector_fixed< T, n > const &lhs, vnl_vector_fixed< T, n > const &rhs)
 Define a complete ordering on vnl_vector_fixed. More...
 
template<class T , unsigned int n, unsigned int m>
VNL_EXPORT bool operator< (vnl_matrix_fixed< T, n, m > const &lhs, vnl_matrix_fixed< T, n, m > const &rhs)
 Define a complete ordering on vnl_matrix_fixed. More...
 

Detailed Description

Various operators for templated vnl classes.

Author
Ian Scott

Definition in file vnl_operators.h.

Function Documentation

◆ operator<() [1/4]

template<class T >
VNL_EXPORT bool operator< ( vnl_vector< T > const &  lhs,
vnl_vector< T > const &  rhs 
)

Define a complete ordering on vnl_vector.

This is useful to create a set, or map of vectors.

The ordering itself is implementation defined - so don't rely on the meaning of less here.

Definition at line 24 of file vnl_operators.h.

◆ operator<() [2/4]

template<class T >
VNL_EXPORT bool operator< ( vnl_matrix< T > const &  lhs,
vnl_matrix< T > const &  rhs 
)

Define a complete ordering on vnl_matrix.

This is useful to create a set, or map of matrices.

The ordering itself is implementation defined - so don't rely on the meaning of less here.

Definition at line 48 of file vnl_operators.h.

◆ operator<() [3/4]

template<class T , unsigned int n>
VNL_EXPORT bool operator< ( vnl_vector_fixed< T, n > const &  lhs,
vnl_vector_fixed< T, n > const &  rhs 
)

Define a complete ordering on vnl_vector_fixed.

This is useful to create a set, or map of vectors.

Definition at line 71 of file vnl_operators.h.

◆ operator<() [4/4]

template<class T , unsigned int n, unsigned int m>
VNL_EXPORT bool operator< ( vnl_matrix_fixed< T, n, m > const &  lhs,
vnl_matrix_fixed< T, n, m > const &  rhs 
)

Define a complete ordering on vnl_matrix_fixed.

This is useful to create a set, or map of matrices.

Definition at line 82 of file vnl_operators.h.