Calculates the cross product matrix of a 3-element vector. The cross product matrix A of a is defined as a x b = A . b, where b is another 3-element vector.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in), | dimension(3) | :: | a | ||
real(kind=rp), | intent(out), | dimension(3,3) | :: | mat | Cross product matrix of |