Download venv/lib/python3.13/site-packages/numpy/f2py/tests/src/regression/inout.f90 from dheeena/MRI: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/f2py/tests/src/regression/inout.f90
- Command line
-
hf download hf://dheeena/MRI/venv/lib/python3.13/site-packages/numpy/f2py/tests/src/regression/inout.f90
-
curl -L -o inout.f90 https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/f2py/tests/src/regression/inout.f90
277 Bytes
| ! Check that intent(in out) translates as intent(inout). | |
| ! The separation seems to be a common usage. | |
| subroutine foo(x) | |
| implicit none | |
| real(4), intent(in out) :: x | |
| dimension x(3) | |
| x(1) = x(1) + x(2) + x(3) | |
| return | |
| end | |