--- [EMAIL PROTECTED] wrote:
> >  1. you can compare numbers.
> >  2. rotate sequencial  4 numbers:
> >     from.. 1 2 3 4 5 6 7
> >     to     1 2 6 5 4 3 7
> >     (ie.. 3 4 5 6 is rotated to 6 5 4 3)
> >  3. rotate entire sequence
> >      from.. 1 2 6 5 4 3 7
> >      to     3 7 1 2 6 5 4
> 
> Is (3) correct? In (2), "rotations" appears to mean
> flipping the
> subsequence, but in (3), it appears to mean rotate
> in the sense I
> first interpreted it (cycling elements from one end
> to the other,
> without otherwise changing the order.
> 
> Which of these is correct?
> 
> a. both mean "flipping":
> 
> 12 3456 7 -> 12 6543 7
> 1234567   -> 7654321
> 
> b. both mean "cycling:"
> 
> 12 3456 7 -> 12 4563 7
> 1234567  ->  2345671
> 
> c. They mean different things as you have described
> above. In that
> case, it appears to be what I call "cycling", but
> you have shifted two
> elements. Is any number of shifts allowed whilst
> still being treated
> as an atomic operation?
> 
Yes, 'c' is correct.
I should have cleared  earlier the second operation as
 the cyclic shifts. Any number of cyclic shifts
possible in single operation. 


> Regards,
> Ian Boreham


Artist

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to