Implements cross product for vectors. More...
#include <vnl/vnl_vector.h>#include <vnl/vnl_vector_fixed.h>#include <cassert>#include "vnl/vnl_export.h"Go to the source code of this file.
Functions | |
| template<class T > | |
| T | vnl_cross_2d (const vnl_vector< T > &v1, const vnl_vector< T > &v2) |
| Compute the 2-D cross product. More... | |
| template<class T > | |
| T | vnl_cross_2d (const vnl_vector_fixed< T, 2 > &v1, const vnl_vector_fixed< T, 2 > &v2) |
| Compute the 2-D cross product. More... | |
| template<class T > | |
| T | vnl_cross_2d (vnl_vector_fixed< T, 2 > const &v1, vnl_vector< T > const &v2) |
| Compute the 2-D cross product. More... | |
| template<class T > | |
| T | vnl_cross_2d (vnl_vector< T > const &v1, vnl_vector_fixed< T, 2 > const &v2) |
| Compute the 2-D cross product. More... | |
| template<class T > | |
| vnl_vector< T > | vnl_cross_3d (const vnl_vector< T > &v1, const vnl_vector< T > &v2) |
| Compute the 3-D cross product. More... | |
| template<class T > | |
| vnl_vector_fixed< T, 3 > | vnl_cross_3d (const vnl_vector_fixed< T, 3 > &v1, const vnl_vector_fixed< T, 3 > &v2) |
| Compute the 3-D cross product. More... | |
| template<class T , unsigned int n> | |
| vnl_vector_fixed< T, n > | vnl_cross_3d (const vnl_vector_fixed< T, n > &a, const vnl_vector< T > &b) |
| Compute the 3-D cross product. More... | |
| template<class T , unsigned int n> | |
| vnl_vector_fixed< T, n > | vnl_cross_3d (const vnl_vector< T > &a, const vnl_vector_fixed< T, n > &b) |
| Compute the 3-D cross product. More... | |
Implements cross product for vectors.
Definition in file vnl_cross.h.
|
inline |
Compute the 2-D cross product.
Definition at line 24 of file vnl_cross.h.
|
inline |
Compute the 2-D cross product.
Definition at line 34 of file vnl_cross.h.
|
inline |
Compute the 2-D cross product.
Definition at line 44 of file vnl_cross.h.
|
inline |
Compute the 2-D cross product.
Definition at line 55 of file vnl_cross.h.
|
inline |
Compute the 3-D cross product.
Definition at line 65 of file vnl_cross.h.
|
inline |
Compute the 3-D cross product.
Definition at line 79 of file vnl_cross.h.
|
inline |
Compute the 3-D cross product.
Definition at line 93 of file vnl_cross.h.
|
inline |
Compute the 3-D cross product.
Definition at line 103 of file vnl_cross.h.
1.8.15