ITK
4.13.0
Insight Segmentation and Registration Toolkit

#include <itkCrossHelper.h>
Compute the cross product of two vectors of dimension 3, independently of the type of the values of vector's elements.
FIXME: Strictly speaking, the Cross product should not return a Vector, but a CovariantVector, since it behaves differently under Affine Transformations.