File: foobarmodule.tex

package info (click to toggle)
python-numpy 1%3A1.12.1-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 23,568 kB
  • sloc: ansic: 146,995; python: 98,089; cpp: 1,112; makefile: 425; f90: 307; sh: 173; fortran: 169; perl: 58
file content (36 lines) | stat: -rw-r--r-- 912 bytes parent folder | download | duplicates (2)
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
% 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}