Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Changing An Array Section

adamanthaea
Beginner
430 Views
I'm trying to write a function using an automatic array in the format (n, 2) where n will be from a different program. I want to manipulate one of the two columns by adding a constant to all the values in that column of the array and then writing the new values over the old ones in the array. Everything I've read indicates what an array section is without saying how to code one so that I can use it in such a manner. Another website says that the only permissible operations on an array section are "print" and "whatis". Is such an idea possible or do I need to come up with a different way to do this?
0 Kudos
0 Replies
Reply