Registered Member
|
Hi everybody,
I was wondering if it is possible to pass an Eigen matrix to a FORTRAN90 subroutine, which does some calculations and returns the result back again as an Eigen Matrix? Would this be possible at all? If it is not possible, how could I pass a regular C++ array or a std::vector<std::vector<int>> object? Does anyone have a running example for any of these cases (preferably using Eigen matrices): so a Fortran file, a C++ file and a Makefile to build it, while the C++ code passes a matrix to Fortran? Thanks a million! Best, Alice |
Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]