summaryrefslogtreecommitdiff
path: root/numpy/f2py/doc/f2python9-final/src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/doc/f2python9-final/src')
-rw-r--r--numpy/f2py/doc/f2python9-final/src/examples/exp1.f26
-rw-r--r--numpy/f2py/doc/f2python9-final/src/examples/exp1mess.txt17
-rw-r--r--numpy/f2py/doc/f2python9-final/src/examples/exp1session.txt20
-rw-r--r--numpy/f2py/doc/f2python9-final/src/examples/foo.pyf13
-rw-r--r--numpy/f2py/doc/f2python9-final/src/examples/foom.pyf14
5 files changed, 0 insertions, 90 deletions
diff --git a/numpy/f2py/doc/f2python9-final/src/examples/exp1.f b/numpy/f2py/doc/f2python9-final/src/examples/exp1.f
deleted file mode 100644
index 36bee50b0..000000000
--- a/numpy/f2py/doc/f2python9-final/src/examples/exp1.f
+++ /dev/null
@@ -1,26 +0,0 @@
- subroutine exp1(l,u,n)
-C Input: n is number of iterations
-C Output: l,u are such that
-C l(1)/l(2) < exp(1) < u(1)/u(2)
-C
-Cf2py integer*4 :: n = 1
-Cf2py intent(out) l,u
- integer*4 n,i
- real*8 l(2),u(2),t,t1,t2,t3,t4
- l(2) = 1
- l(1) = 0
- u(2) = 0
- u(1) = 1
- do 10 i=0,n
- t1 = 4 + 32*(1+i)*i
- t2 = 11 + (40+32*i)*i
- t3 = 3 + (24+32*i)*i
- t4 = 8 + 32*(1+i)*i
- t = u(1)
- u(1) = l(1)*t1 + t*t2
- l(1) = l(1)*t3 + t*t4
- t = u(2)
- u(2) = l(2)*t1 + t*t2
- l(2) = l(2)*t3 + t*t4
- 10 continue
- end
diff --git a/numpy/f2py/doc/f2python9-final/src/examples/exp1mess.txt b/numpy/f2py/doc/f2python9-final/src/examples/exp1mess.txt
deleted file mode 100644
index d4188a91b..000000000
--- a/numpy/f2py/doc/f2python9-final/src/examples/exp1mess.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Reading fortran codes...
- Reading file 'exp1.f'
-Post-processing...
- Block: foo
- Block: exp1
-Creating 'Makefile-foo'...
- Linker: ld ('GNU ld' 2.9.5)
- Fortran compiler: f77 ('g77 2.x.x' 2.95.2)
- C compiler: cc ('gcc 2.x.x' 2.95.2)
-Building modules...
- Building module "foo"...
- Constructing wrapper function "exp1"...
- l,u = exp1([n])
- Wrote C/API module "foo" to file "foomodule.c"
- Documentation is saved to file "foomodule.tex"
-Run GNU make to build shared modules:
- gmake -f Makefile-<modulename> [test]
diff --git a/numpy/f2py/doc/f2python9-final/src/examples/exp1session.txt b/numpy/f2py/doc/f2python9-final/src/examples/exp1session.txt
deleted file mode 100644
index 5ae75ebd1..000000000
--- a/numpy/f2py/doc/f2python9-final/src/examples/exp1session.txt
+++ /dev/null
@@ -1,20 +0,0 @@
->>> import foo,Numeric
->>> print foo.exp1.__doc__
-exp1 - Function signature:
- l,u = exp1([n])
-Optional arguments:
- n := 1 input int
-Return objects:
- l : rank-1 array('d') with bounds (2)
- u : rank-1 array('d') with bounds (2)
-
->>> l,u = foo.exp1()
->>> print l,u
-[ 1264. 465.] [ 1457. 536.]
->>> print l[0]/l[1], u[0]/u[1]-l[0]/l[1]
-2.71827956989 2.25856657199e-06
->>> l,u = foo.exp1(2)
->>> print l,u
-[ 517656. 190435.] [ 566827. 208524.]
->>> print l[0]/l[1], u[0]/u[1]-l[0]/l[1]
-2.71828182845 1.36437527942e-11
diff --git a/numpy/f2py/doc/f2python9-final/src/examples/foo.pyf b/numpy/f2py/doc/f2python9-final/src/examples/foo.pyf
deleted file mode 100644
index 516bb292f..000000000
--- a/numpy/f2py/doc/f2python9-final/src/examples/foo.pyf
+++ /dev/null
@@ -1,13 +0,0 @@
-!%f90 -*- f90 -*-
-python module foo
- interface
- subroutine exp1(l,u,n)
- real*8 dimension(2) :: l
- real*8 dimension(2) :: u
- integer*4 :: n
- end subroutine exp1
- end interface
-end python module foo
-! This file was auto-generated with f2py
-! (version:2.298).
-! See http://cens.ioc.ee/projects/f2py2e/
diff --git a/numpy/f2py/doc/f2python9-final/src/examples/foom.pyf b/numpy/f2py/doc/f2python9-final/src/examples/foom.pyf
deleted file mode 100644
index 6392ebc95..000000000
--- a/numpy/f2py/doc/f2python9-final/src/examples/foom.pyf
+++ /dev/null
@@ -1,14 +0,0 @@
-!%f90 -*- f90 -*-
-python module foo
- interface
- subroutine exp1(l,u,n)
- real*8 dimension(2) :: l
- real*8 dimension(2) :: u
- intent(out) l,u
- integer*4 optional :: n = 1
- end subroutine exp1
- end interface
-end python module foo
-! This file was auto-generated with f2py
-! (version:2.298) and modified by pearu.
-! See http://cens.ioc.ee/projects/f2py2e/