I read the part on Numerical Recipes (Fortran 90 edition) about array syntax, but I think it is a bit outdated. I tried coding up a simple dynamic programming example in the post linked below and it turned out that the versions using array syntax instead of loops are slower. The code of the example below is also available on github
aledinola
22
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Optimizing vectorized array operations | 79 | 2299 | May 5, 2025 | |
| Will using Vectorization speed up the program? | 22 | 2109 | November 26, 2023 | |
| Fortran is dead – Long live Fortran! | 9 | 940 | June 27, 2025 | |
| Fortran vectorize code | 8 | 512 | December 16, 2025 | |
| Performance of vectorized code in ifort and ifx | 28 | 1642 | April 9, 2024 |