From: Elias Athanasopoulos <elathan@phys.uoa.gr>
To: linux-c-programming@vger.kernel.org
Subject: C/Fortran mixing - Passing arrays
Date: Sun, 18 May 2003 19:37:53 +0300 [thread overview]
Message-ID: <20030518193753.A1662@neutrino.particles.org> (raw)
Hello!
I have a fortran subroutine with the prototype:
subroutine evolvePDF (x, Q, f)
...
real*8 f(-6,6)
which I want to call from C. My problem is that C, IIRC, doesn't support
negative indexes. Is there a workaround?
Regards,
Elias
--
University of Athens I bet the human brain
Physics Department is a kludge --Marvin Minsky
next reply other threads:[~2003-05-18 16:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-18 16:37 Elias Athanasopoulos [this message]
2003-05-18 19:29 ` C/Fortran mixing - Passing arrays Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030518193753.A1662@neutrino.particles.org \
--to=elathan@phys.uoa.gr \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).