>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  THREE2ONE

THREE2ONE

THREE2ONE

Name


      THREE2ONE

Purpose


      Convert from 3-d indices to 1-d indices.

Category


Calling Sequence


      three2one, ix, iy, iz, arr, in

Inputs


      ix, iy, iz = 3-d indices. in
      arr = array to use (for size only). in
        Alternatively, arr can be [nx, ny, nz]
        where nx, ny, and nz are the image sizes
        in x, y, and z (saves space).

Keyword Parameters


Outputs


      in = equivalent 1-d indices. out

Common Blocks


Notes


Modification History


      R. Sterner, 2001 Oct 02
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  Copyright (C) 2001, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us