Hi, I’ve got a problem with format statement. I have a loop and during each iteration I want to add to the existing file a new column (without deleting the previously written). Can someone help me? In short a I’d like to obtain something like this:
(1 iteration) (2 iteration) (3 iteration)...
Hi,
I have a problem with a large matrix… I want to write row by row into separate files and later read them. So I need something like this (in f77):
do i=1,m
do j=1,n
row(j)=matrix(i,j)
enddo
open(1,FILE='ROW_J.txt', STATUS='NEW')
write(1,*) (row(j), j=1,n)
close(1)
enddo...
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.