What does it mean in GFortran?
I am seeing such expressions:
Code:
FAC(3:NF+2) |
Hi,
you haven't given any context to I'll guess that it's an array operation in fortran 90. Evo2. |
Thanks. What do you mean a context? This line is a part of a very large package in Fortran on Fast fourier Transform. I cannot access the code now, only in about 12 hours. But even when I do what other informarion do you want? For a person familar with GFortran or any contemporary variant like Fortran 2008, etc, it should be self-explainatory.
BTW, this code is not a part of a declaration. |
It's just referencing a certain index range in FAC.
Say NF is 5, it would be pulling out indices 3,4,5,6,7 from the array FAC. |
suicidaleggroll is again on top of the game. Thanks.
|
HI,
Quote:
Quote:
Quote:
Evo2. |
Of course, I am learning. I write code and learn at the same time. Many programs can be written without sophisticated statements new Fortran variants offer. I programmed in Fortran IV years ago ad nauseum. I do not try to hide anything intentionally. I thought that posting a snippet will make your job easier. Now I fully understand what it meant. Still posting here is better than googling and reading although I do both. I also have another, similar question to ask. Will make a separate thread. I did not assert that I am an expert. You did not read my post attentively. I meant people like suicidaleggroll for instance.
This snippet actually appears only once in a comment, nowhere else. Here it is: Quote:
|
Hi,
Quote:
Plonk. |
All times are GMT -5. The time now is 10:10 PM. |