Hi,
I am new to Fortran, and I don't know how to attach new rows to a matrix. I don't know the final size of my matrix, so I can't declare its dimension.
I am doing a do loop and checking a certain condition. If the condition is true, I want to add a vector as a row to a matrix, so that at the end I have all the vectors that satisfy the condition as the rows of a matrix.
Any ideas?
Thanks a bunch,
Ivan
I am new to Fortran, and I don't know how to attach new rows to a matrix. I don't know the final size of my matrix, so I can't declare its dimension.
I am doing a do loop and checking a certain condition. If the condition is true, I want to add a vector as a row to a matrix, so that at the end I have all the vectors that satisfy the condition as the rows of a matrix.
Any ideas?
Thanks a bunch,
Ivan