ITK
5.4.0
Insight 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.