vector_sub_I1P Function

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

Operator - integer(I1P).

 type(vector_R8P) :: pt(0:1)
 pt(1) = 1 * ex_R8P + 2 * ey_R8P + 1 * ez_R8P
 pt(0) = pt(1) - 3_I1P
 print "(3(F4.1,1X))", pt(0)%x, pt(0)%y, pt(0)%z

Arguments

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

Left hand side.

integer(kind=I1P), intent(in) :: rhs

Right hand side.

Return Value type(vector_R8P)

Operator result.


Contents

None