summaryrefslogtreecommitdiff
path: root/numpy/f2py/docs/usersguide/calculate.f
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/docs/usersguide/calculate.f')
-rw-r--r--numpy/f2py/docs/usersguide/calculate.f14
1 files changed, 0 insertions, 14 deletions
diff --git a/numpy/f2py/docs/usersguide/calculate.f b/numpy/f2py/docs/usersguide/calculate.f
deleted file mode 100644
index 1cda1c8dd..000000000
--- a/numpy/f2py/docs/usersguide/calculate.f
+++ /dev/null
@@ -1,14 +0,0 @@
- subroutine calculate(x,n)
-cf2py intent(callback) func
- external func
-c The following lines define the signature of func for F2PY:
-cf2py real*8 y
-cf2py y = func(y)
-c
-cf2py intent(in,out,copy) x
- integer n,i
- real*8 x(n)
- do i=1,n
- x(i) = func(x(i))
- end do
- end