¡@

Home 

python Programming Glossary: fx1

f2py, Python function that returns an array (vector-valued function)

http://stackoverflow.com/questions/17474225/f2py-python-function-that-returns-an-array-vector-valued-function

x2 integer intent in nf nxs double precision dimension nf fx1 fx2 double precision intent in dimension nxs xs double precision.. result external f result 0.0 do I 2 nxs x1 xs I 1 x2 xs I fx1 f x1 fx2 f x2 result result fx1 fx2 x2 x1 2 enddo return end.. I 2 nxs x1 xs I 1 x2 xs I fx1 f x1 fx2 f x2 result result fx1 fx2 x2 x1 2 enddo return end The problem is that Fortran is..