File size: 912 Bytes
c011401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% This file is auto-generated with f2py (version:2.266)
\section{Module \texttt{foobar}}

This module contains two examples that are used in        \texttt{f2py} documentation.

\subsection{Wrapper function \texttt{foo}}


\noindent{{}\verb@foo@{}}\texttt{(a)}
--- Example of a wrapper function of a Fortran subroutine.

\noindent Required arguments:
\begin{description}
\item[]{{}\verb@a : in/output rank-0 array(int,'i')@{}}
--- 5 is added to the variable {{}\verb@a@{}} ``in place''.
\end{description}

\subsection{Wrapper function \texttt{bar}}


\noindent{{}\verb@bar = bar@{}}\texttt{(a, b)}
--- Add two values.

\noindent Required arguments:
\begin{description}
\item[]{{}\verb@a : input int@{}}
--- The first value.
\item[]{{}\verb@b : input int@{}}
--- The second value.
\end{description}
\noindent Return objects:
\begin{description}
\item[]{{}\verb@bar : int@{}}
--- See elsewhere.
\end{description}