New Reply

Array storage

 
Share Thread Thread Tools
May15-12, 08:03 AM   #1
 

Array storage


Dear Sir,

I am using FORTRAN.
I have little experience and i am facing one problem.

I want to store data (i.e. X and Y values) in an array (A(900),B(900)) in such a way that at first I used only 30 elements of each array for storage 30 initial values of X and Y and then I have some scientific calculations to change the values of X and Y and then again want to store 30 modified values of X and Y in the same array from the 31th array element of both arrays. In this way I want to store my data and finally want to print these arrays.

Could you please help me out how I can write this algorithim I FORTRAN code…..

Please help me.

Please guide me

With best regards
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Front-row seats to climate change
>> Attacking MRSA with metals from antibacterial clays
>> New formula invented for microscope viewing, substitutes for federally controlled drug
May21-12, 07:16 PM   #2
 
Mentor
Quote by amitavorc2 View Post
Dear Sir,

I am using FORTRAN.
I have little experience and i am facing one problem.

I want to store data (i.e. X and Y values) in an array (A(900),B(900)) in such a way that at first I used only 30 elements of each array for storage 30 initial values of X and Y and then I have some scientific calculations to change the values of X and Y and then again want to store 30 modified values of X and Y in the same array from the 31th array element of both arrays. In this way I want to store my data and finally want to print these arrays.

Could you please help me out how I can write this algorithim I FORTRAN code…..

Please help me.

Please guide me

With best regards
Why do you need arrays with 900 elements if you're planning to use only 60 of them? Also, a web search on "fortran array" should yield plenty of examples of how to use arrays.
 
New Reply
Thread Tools


Similar Threads for: Array storage
Thread Forum Replies
Printing 1D array in Fortran as 2D array... Programming & Comp Sci 7
Storage Website Computers 18
Inputting an array in to a function or returning an array? (C++) Programming & Comp Sci 5
Array storage Programming & Comp Sci 4
converting from an array of function values to coordinate array of different length Programming & Comp Sci 3