| New Reply |
[Fortran] help |
Share Thread | Thread Tools |
| Oct21-12, 07:50 AM | #1 |
|
|
[Fortran] help
How can i divide elements of an array into a scalar. I mean, i have read my data file into a matrix in FORTRAN which this matrix is 1*3414. Then, I want that each elements of this matrix is divided to (24480*2).
I will be so grateful if you guide me the appropriate function. Thanks a lot |
| Oct21-12, 11:55 AM | #2 |
|
|
Have you read anything about Fortran?
about arrays in Fortran? As far as your division goes: What have you tried? Did it work? Why not? What did you expect the result to be? Show something effort, trials and errors, first, please. |
| Oct21-12, 01:14 PM | #3 |
|
Mentor
|
My interpretation of what you said is that you have a matrix that is an array with 3414 elements. (A matrix with 1 row and 3414 columns.) Somehow you want to do something to this array to produce a matrix with 24480 rows and 2 columns. In addition to what gsal said, please clarify what you said above. |
| New Reply |
| Thread Tools | |
Similar Threads for: [Fortran] help
|
||||
| Thread | Forum | Replies | ||
| Fortran 77 help making an empty array (or blank list if they exist in fortran) | Programming & Comp Sci | 5 | ||
| FORTRAN 95: New to fortran, want to learn how to input a function | Programming & Comp Sci | 1 | ||
| C to fortran | Programming & Comp Sci | 9 | ||
| Accessing Fortran Modules within a Fortran library from Fortran | Programming & Comp Sci | 0 | ||
| Fortran v.s. Visual Fortran | Programming & Comp Sci | 0 | ||