TBiSpectrumAnalyzerList.Rotate Method

void Rotate(Int32 Offset)

Rotate the list up or down.

#NameTypeDescription
1OffsetInt32

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
TVec a;
MtxVec.CreateIt(out a);
try
    {
        a.SetIt(false,new double[] {1,2,3,4});
        a.Rotate(2);   // a = new double[] {3,4,1,2}
    }
finally
    {
        MtxVec.FreeIt(ref a);
    }