vector_angle Function

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

Computes the angle between two vectors.

Arguments

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

The first vector.

real(kind=real64), intent(in), dimension(size(x)) :: y

The second vector.

Return Value real(kind=real64)

The angle, in radians.


Contents