Re: Optimization of spread

2022-11-16 Thread Théo Cavignac via Fortran
Mikael, Thomas, Thank you very much for being so welcoming. > The source is actually more C than C++ (the fortran front-end at least). That's good to know, I am much more comfortable with C. > It requires little C++ skills, but time and willingness to decipher its > complexity. Yes, I don't expe

Optimization of spread

2022-11-03 Thread Théo Cavignac via Fortran
Hello, I am currently writing some numerical code in Fortran 2003 and I want to use the spread intrinsic because having used NumPy heavily for the past few years, it feels natural to use such an array primitive. I naturally wondered what would be the effect on performance and found this on Stack Ov