bundles / numpy latest / numpy / f2py / rules
module
numpy.f2py.rules
source: build-install/usr/lib/python3.14/site-packages/numpy/f2py/rules.py :0
Members
Summary
Rules for building C/API module with f2py2e.
Extended Summary
Here is a skeleton of a new wrapper function (13Dec2001):
wrapper_function(args)
declarations get_python_arguments, say, `a' and `b'
get_a_from_python if (successful) {
get_b_from_python if (successful) {
callfortran if (successful) {
put_a_to_python if (successful) {
put_b_to_python if (successful) {
buildvalue = ...
}
}
}
} cleanup_b
} cleanup_a
return buildvalue
Copyright 1999 -- 2011 Pearu Peterson all rights reserved. Copyright 2011 -- present NumPy Developers. Permission to use, modify, and distribute this software is given under the terms of the NumPy License.
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
Additional content
Rules for building C/API module with f2py2e.
Here is a skeleton of a new wrapper function (13Dec2001):
wrapper_function(args)
declarations get_python_arguments, say, `a' and `b'
get_a_from_python if (successful) {
get_b_from_python if (successful) {
callfortran if (successful) {
put_a_to_python if (successful) {
put_b_to_python if (successful) {
buildvalue = ...
}
}
}
} cleanup_b
} cleanup_a
return buildvalue
Copyright 1999 -- 2011 Pearu Peterson all rights reserved. Copyright 2011 -- present NumPy Developers. Permission to use, modify, and distribute this software is given under the terms of the NumPy License.
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
Aliases
-
numpy.f2py.rules