Hi VRf listeners,
I'm currently trying to pass an HP-VEE complex array to a compiled C
function. However, the type complex is not supported in C and VEE
doesn't like to pass complex to a compiled function. Does anybody
know how this could be done ?
Also, the HP-VEE documentation is not very clear on the requirements
for header files for FORTRAN compiled functions. Is there a better
definition somewhere ? Or does anybody have good examples ?
Regards
Michel Gagne
COM DEV Ltd
Cambridge, Canada
(519) 622-2300 x 575
Mike.gagne@comdev.ca
I'm currently trying to pass an HP-VEE complex array to a compiled C
function. However, the type complex is not supported in C and VEE
doesn't like to pass complex to a compiled function. Does anybody
know how this could be done ?
Also, the HP-VEE documentation is not very clear on the requirements
for header files for FORTRAN compiled functions. Is there a better
definition somewhere ? Or does anybody have good examples ?
Regards
Michel Gagne
COM DEV Ltd
Cambridge, Canada
(519) 622-2300 x 575
Mike.gagne@comdev.ca
------------------------
From: Mike Gagne <Mike.Gagne@comdev.ca>
Subject: VRf - Compiled functions in C and F77
Date: Thu, 28 Aug 1997 15:36:21 EST5EDT
To: hpvxd_xc@hpislsup.lvld.hp.com
> Hi VRf listeners,
>
> I'm currently trying to pass an HP-VEE complex array to a compiled C
> function. However, the type complex is not supported in C and VEE
> doesn't like to pass complex to a compiled function. Does anybody
> know how this could be done ?
>
> Also, the HP-VEE documentation is not very clear on the requirements
> for header files for FORTRAN compiled functions. Is there a better
> definition somewhere ? Or does anybody have good examples ?
>
> Regards
>
> Michel Gagne
> COM DEV Ltd
> Cambridge, Canada
> (519) 622-2300 x 575
>
> Mike.gagne@comdev.ca
>
---------------End of Original Message-----------------
Michel,
I usually do an Unbuild Complex and pass 2 arrays to C. When calling vee from C there are functions to extract arrays from a VEE complex that I
have been told will also work when calling C from vee but I have never tried it. Look at the function vdcGetComplex1DArray in veeData.h for more
info.
--------------------------------------------------------
Name: Tom Sanders
E-mail: Tom Sanders <toms@symca.com>
Date: 08/28/97 Time: 12:58:03
--------------------------------------------------------