summaryrefslogtreecommitdiff
path: root/doc/f2py/multiarray/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/f2py/multiarray/bar.c')
-rw-r--r--doc/f2py/multiarray/bar.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/doc/f2py/multiarray/bar.c b/doc/f2py/multiarray/bar.c
deleted file mode 100644
index 350636ea6..000000000
--- a/doc/f2py/multiarray/bar.c
+++ /dev/null
@@ -1,15 +0,0 @@
-
-#include <stdio.h>
-
-void bar(int *a,int m,int n) {
- int i,j;
- printf("C:");
- printf("m=%d, n=%d\n",m,n);
- for (i=0;i<m;++i) {
- printf("Row %d:\n",i+1);
- for (j=0;j<n;++j)
- printf("a(i=%d,j=%d)=%d\n",i,j,a[n*i+j]);
- }
- if (m*n)
- a[0] = 7777;
-}