Operator - real(R4P).
type(vector) :: pt(0:1)
pt(1) = 1 * ex + 2 * ey + 1 * ez
pt(0) = pt(1) - 3._R4P
print "(3(F4.1,1X))", pt(0)%x, pt(0)%y, pt(0)%z
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.