vector_eq_vector Function

private elemental function vector_eq_vector(lhs, rhs) result(opr)

Operator ==.

The comparison is done with respect normL2 and, secondary, with respect the directions.

 type(vector_R16P) :: pt(1:2)
 pt(1) = ex_R16P + ey_R16P + ez_R16P
 pt(2) = ex_R16P + ey_R16P + ez_R16P
 print "(L1)", pt(1) == pt(2)

Arguments

TypeIntentOptionalAttributesName
class(vector_R16P), intent(in) :: lhs

Left hand side.

type(vector_R16P), intent(in) :: rhs

Right hand side.

Return Value logical

The result of the comparison.


Calls

proc~~vector_eq_vector~2~~CallsGraph proc~vector_eq_vector~2 vector_eq_vector proc~norml2_r16p normL2_R16P proc~vector_eq_vector~2->proc~norml2_r16p proc~normalized_r16p normalized_R16P proc~vector_eq_vector~2->proc~normalized_r16p

Contents

None