cross_mat Subroutine

public subroutine cross_mat(a, mat)

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.

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(in), dimension(3):: a
real(kind=rp), intent(out), dimension(3,3):: mat

Cross product matrix of a


Contents

None