5 ! Contributed by Harald Anlauf
10 real ,pointer :: x(:) => NULL()
11 end type t_vector_segm
15 type (t_vector_segm
) ,pointer :: s (:) => NULL()
19 module procedure sqrt_vector
23 function sqrt_vector (x
) result (y
)
25 type (t_vector
) ,intent(in
) :: x
28 y
% s(i
)% x
= sqrt (x
% s(i
)% x
)
30 end function sqrt_vector