diff options
author | Namami Shanker <namami2011@gmail.com> | 2022-04-12 20:44:33 +0530 |
---|---|---|
committer | Namami Shanker <namami2011@gmail.com> | 2022-04-12 20:44:33 +0530 |
commit | 50ce363ca08d273cc9da081378067d15518d82ea (patch) | |
tree | ffe3373be5bde67e260db88dc859b69da8e4b09f /doc/source/f2py/code | |
parent | 65a701fd40d5ab3b772131daf45679d6ecf3d721 (diff) | |
download | numpy-50ce363ca08d273cc9da081378067d15518d82ea.tar.gz |
DOC: Add F2PY test documentation
Diffstat (limited to 'doc/source/f2py/code')
-rw-r--r-- | doc/source/f2py/code/add-test.f | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/source/f2py/code/add-test.f b/doc/source/f2py/code/add-test.f new file mode 100644 index 000000000..1d52e47bb --- /dev/null +++ b/doc/source/f2py/code/add-test.f @@ -0,0 +1,10 @@ + subroutine addb(k) + real(8), intent(inout) :: k(:) + k=k+1 + endsubroutine + + subroutine addc(w,k) + real(8), intent(in) :: w(:) + real(8), intent(out) :: k(size(w)) + k=w+1 + endsubroutine
\ No newline at end of file |