Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Reverse the order of elements in array. Single precision variant.
(KCW, 2024-07-17)
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
n
Source Code
pure function reverse_real32(array)result(reverse)use,intrinsic::iso_fortran_env,only:real32real(real32),intent(in)::array(:)real(real32)::reverse(size(array))integer::nn=size(array)! There is nothing to reverse.if(n==0)then return end ifreverse(:)=array(n:1:-1)end function reverse_real32