10 lines
204 B
FortranFixed
10 lines
204 B
FortranFixed
|
|
module arrCallback
|
||
|
|
contains
|
||
|
|
elemental function cube( x )
|
||
|
|
implicit none
|
||
|
|
real :: cube
|
||
|
|
real, intent(in) :: x
|
||
|
|
cube = x * x * x
|
||
|
|
end function cube
|
||
|
|
end module arrCallback
|