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) :: pt(1:2)
 pt(1) = ex + ey + ez
 pt(2) = ex + ey + ez
 print "(L1)", pt(1) == pt(2)

Arguments

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

Left hand side.

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

Right hand side.

Return Value logical

The result of the comparison.


Calls

proc~~vector_eq_vector~3~~CallsGraph proc~vector_eq_vector~3 vector_eq_vector proc~norml2 normL2 proc~vector_eq_vector~3->proc~norml2 proc~normalized normalized proc~vector_eq_vector~3->proc~normalized

Contents

None