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