FFI-Platypus-Lang-Fortran

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


  Execute

     $gfortran -shared complex.f90 -o complex.so
     $ perl complex.pl
     1.5 + 2.5i

  Discussion

    Platypus now supports complex types of various sizes. This means that
    you can transparently use complex arguments and arrays of complex
    types.

 Arrays

  Fortran

     subroutine print_array10(a)
       implicit none
       integer, dimension(10) :: a
       integer :: i

lib/FFI/Platypus/Lang/Fortran.pm  view on Meta::CPAN


=head3 Execute

 $gfortran -shared complex.f90 -o complex.so
 $ perl complex.pl
 1.5 + 2.5i

=head3 Discussion

Platypus now supports complex types of various sizes.  This means that
you can transparently use complex arguments and arrays of complex types.

=head2 Arrays

=head3 Fortran

 subroutine print_array10(a)
   implicit none
   integer, dimension(10) :: a
   integer :: i
   



( run in 1.232 second using v1.01-cache-2.11-cpan-0a6323c29d9 )