tmp
/
pip-install-ghxuqwgs
/numpy_78e94bf2b6094bf9a1f3d92042f9bf46
/doc
/f2py
/ex1
/foobarmodule.tex
% 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} | |