Skip to content Skip to sidebar Skip to footer
Showing posts with the label Fortran

Precision Discrepancy Between Fortran And Python (sin Function)

I see a discrepancy between python and Fortran when using the sinus function. Could anyone shed lig… Read more Precision Discrepancy Between Fortran And Python (sin Function)

Fortran Program Fails Depending On A Write Statement Before Subroutine Call

It's been a number of years since I've worked with Fortran, so maybe I'm missing a fund… Read more Fortran Program Fails Depending On A Write Statement Before Subroutine Call

How To Force Numpy Array Order To Fortran Style?

I am using quite a lot of fortran libraries to do some mathematical computation. So all the arrays … Read more How To Force Numpy Array Order To Fortran Style?

Searching An Array For A Value Faster Than Np.where(ar==value) Using Fortran And F2py

I was trying to locate the index of a value on a numpy array (same for hundreds of them) using np.w… Read more Searching An Array For A Value Faster Than Np.where(ar==value) Using Fortran And F2py

F2py Giving "redefinition Of 'foo'... Previous Definition Was Here"

this is my first question so be nice to me. I'm using f2py from numpy 1.6.1. I have a fortran m… Read more F2py Giving "redefinition Of 'foo'... Previous Definition Was Here"

What Is Numpy.ctypeslib.as_ctypes Exacty Doing

I have this Fortran code : module example use iso_c_binding implicit none contains … Read more What Is Numpy.ctypeslib.as_ctypes Exacty Doing