Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Rob321

    Pack and reshape array of zeros

    Hi, I am trying to use the pack and reshape commands on an array equal to zero. For some reason the size intrinsic of each array changes in the process. I am doing the same for arrays not equal to zero and this problem does not exist. Here is the code that I currently have. Any thoughts would...
  2. Rob321

    Change rank of allocatable arrays

    That was a bad example. Either way, I solved the problem using the pack intrinsic function. Thanks anyway!
  3. Rob321

    Change rank of allocatable arrays

    HI, Say I have a 50x50 allocatable array and I want to change this to a 100x1 allocatable array. What is the best way to do this? I am using the reshape command but it does not work well with allocatable arrays. This is a simple question and I suspect there is a simple solution. My current...

Part and Inventory Search

Back
Top