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!
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!