AnsweredAssumed Answered

efficient array access (fwd)VRF efficient array access

Question asked by VRFuser on Mar 6, 1997
>
> Is there an efficient way to go through an arry without having to program
> a loop (which is slow) e.g. for reversing the order of the elements of an =
> array?
>
> ALBERT HEBERLE
>
>
Yes:
             +-------------------------------------- Build Coord----->
Array -------|                                    +--
             |                                    |
             +----Formula                         |
                ramp(totSize(A),1,totSize(A))  ---|

>----Formula        UnBuild Coord------------- = Reversed array
     Sort(A,0)------             |
                                 ---------

--
Steven De Smitt    |Eastman Kodak Company   |
desmitt@kodak.com  |Research Labs           |
FAX (716) 722-6989 |MC 01722, Bldg 59       |
Tel (716) 722-9263 |Rochester, NY 14650-1722| Page:(716) 781-2999

Outcomes