Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Merging arrays in fortran 90/95

  1. Mar 8, 2010 #1

    can someone help me with this one?

    I'm trying to merge several 1d-arrays into one 2d-array. Is there any intrinsic routine/function in fortran 90/95 to do so?

    I also thought of pointers. Can I assign a 2d-pointer to more than one object so I have
    a pointer array whose columns point to different 1d-target arrays?

    I naively tried to do

    double precision,dimension(:,:),pointer :: ptr_array


    what didn't work. Can I do something like this?

  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Threads - Merging arrays fortran Date
Java Problem with Merge Sort Alg Implementation Feb 19, 2017
Merging FITS images Jan 22, 2017
Merging columns from two text files May 25, 2016
Fortran merging 2 arrays Apr 10, 2015
Merge sort using linked indexes Dec 8, 2014