TSignalDecimatorList.Rotate Method

procedure Rotate(Offset: Integer);

Rotate the list up or down.

#NameTypeDescription
1OffsetInteger

Result: stored in self (calling object)

Remarks:

Very fast way to rotate the items in the list. If the Step is positive the items are shifted up and those that exit at the top are inserted at the begining of the List. If the Step is negative the items are shifted down and inserted at the end.

Examples
var a: TVec;
begin
    CreateIt(a);
    try
        a.SetIt(False,[1,2,3,4]);
        a.Rotate(2);   // a = [3,4,1,2]
    finally
        FreeIt(a);
    end;
end;