Implements cross product for vectors. More...
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. |
Implements cross product for vectors.
Definition in file vnl_cross.h.
T vnl_cross_2d | ( | const vnl_vector< T > & | v1, |
const vnl_vector< T > & | v2 | ||
) | [inline] |
Compute the 2-D cross product.
Definition at line 20 of file vnl_cross.h.
T vnl_cross_2d | ( | const vnl_vector_fixed< T, 2 > & | v1, |
const vnl_vector_fixed< T, 2 > & | v2 | ||
) | [inline] |
Compute the 2-D cross product.
Definition at line 30 of file vnl_cross.h.
T vnl_cross_2d | ( | vnl_vector_fixed< T, 2 > const & | v1, |
vnl_vector< T > const & | v2 | ||
) | [inline] |
Compute the 2-D cross product.
Definition at line 40 of file vnl_cross.h.
T vnl_cross_2d | ( | vnl_vector< T > const & | v1, |
vnl_vector_fixed< T, 2 > const & | v2 | ||
) | [inline] |
Compute the 2-D cross product.
Definition at line 51 of file vnl_cross.h.
vnl_vector< T > vnl_cross_3d | ( | const vnl_vector< T > & | v1, |
const vnl_vector< T > & | v2 | ||
) | [inline] |
Compute the 3-D cross product.
Definition at line 61 of file vnl_cross.h.
vnl_vector_fixed< T, 3 > vnl_cross_3d | ( | const vnl_vector_fixed< T, 3 > & | v1, |
const vnl_vector_fixed< T, 3 > & | v2 | ||
) | [inline] |
Compute the 3-D cross product.
Definition at line 75 of file vnl_cross.h.
vnl_vector_fixed< T, n > vnl_cross_3d | ( | const vnl_vector_fixed< T, n > & | a, |
const vnl_vector< T > & | b | ||
) | [inline] |
Compute the 3-D cross product.
Definition at line 89 of file vnl_cross.h.
vnl_vector_fixed< T, n > vnl_cross_3d | ( | const vnl_vector< T > & | a, |
const vnl_vector_fixed< T, n > & | b | ||
) | [inline] |
Compute the 3-D cross product.
Definition at line 99 of file vnl_cross.h.