Problems about Mixed programming with C++ and Fortran

G

Guch

I have to do some job about image processing.
I have chosen Blitz++ as my matrix manipulation library.
But it is weak in numerical calculation.
So I want to combine C++ and Fortran.
C++ does the logic control job, and Fortran sees to numerical
calculation problems.

My plan:
Encapsulating the Fortran codes as a DLL using compaq visual
Fortran.
Then invoke the functions in the DLL with C++.

So there is the problem:
How to pass a matrix of Blitz++ to Fortran,
and how to return a result matrix back to Blitz++?

Has anyone done this kind of job before? Help me , pls.
Any suggestion will be apprecited!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top