Hi All,
I have been trying to read in a data using Fortran but for some reasons, it doesn't read the data correctly. Please, any help will be appreciated. To read the data, I used the following (Note, for the attached data, Nm=1, nw-nu=5, nw=10).
The array data(i,j,m,n) is declared as...
Hi,
Thanks for your explanations. I am using the "i" as a counter which should be increased by 1 each time. Then, I wan to check if the initial "i" and the "i+1" have the same sign. If not, I want to make them the same so that the sign occur in pairs as I explained before.
Thanks for your kind response. Kindly see below the pseudo code I have written. The output for the V(jc), the last column of the output I want the signs to be occurring in pairs. For e.g.: ...-2,-2,2,2,2,2,-2,-2...
In essence no element should occur in singles.
Thanks for your assistance...
Hi,
I am very new to programming using FORTRAN. Please, you guys should help me out in the problem I will describe below:
I want to write a FORTRAN program that arranges the numbers in consecutive pairs. That is AABBAABBAABB, etc. Where A is positive and B is negative but both A and B are of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.