cross_product Function

public pure function cross_product(x, y) result(rst)

Computes the cross-product of a vector.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(3)

The left-hand-side argument.

real(kind=real64), intent(in) :: y(3)

The right-hand-side argument

Return Value real(kind=real64), (3)

The resulting vector.


Contents