Download .venv/Lib/site-packages/numpy/f2py/tests/src/regression/datonly.f90 from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/f2py/tests/src/regression/datonly.f90
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/numpy/f2py/tests/src/regression/datonly.f90
-
curl -L -o datonly.f90 https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/f2py/tests/src/regression/datonly.f90
409 Bytes
| module datonly | |
| implicit none | |
| integer, parameter :: max_value = 100 | |
| real, dimension(:), allocatable :: data_array | |
| end module datonly | |
| module dat | |
| implicit none | |
| integer, parameter :: max_= 1009 | |
| end module dat | |
| subroutine simple_subroutine(ain, aout) | |
| use dat, only: max_ | |
| integer, intent(in) :: ain | |
| integer, intent(out) :: aout | |
| aout = ain + max_ | |
| end subroutine simple_subroutine | |