Blitz logo

Blitz Support :

From: Simon Perreault (nomis80_at_[hidden])
Date: 2004-08-24 06:48:58


Hi Julian,

On Monday August 23 2004 22:28, Julian C. Cummings wrote:
> The stride is set to the stride of the Range, which is -2. The storage in
> memory does not change, it remains in ascending order (i.e., memory storage
> order is in the same direction as ascending index number).

I believe this is not true, or that the ascending flag doesn't mean what I
think it means. In ascending index order, the new array is:

[ 6 4 2 0 ]

while in memory storage order it would be the contrary.

What I now think the ascending flag means is "The true stride is the negative
of the stored stride." That would make sense in all observed cases. However,
I think it is useless. Can you tell me why we wouldn't want "ascending =
stride < 0" (except as a cache for the computation, of course)?

-- 
Simon Perreault <nomis80_at_[hidden]> -- http://nomis80.org