LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 3 Jun 2005 00:16:48 -0700
Reply-To:     Arash <amahdian@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arash <amahdian@GMAIL.COM>
Organization: http://groups.google.com
Subject:      circular shift a matrix in SAS/IML
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset="iso-8859-1"

Is it possible to circular shift a matrix in SAS/IML? I mean:

a = { -1 -2 , -3 0 , 1 2 }; c=CIRCSHIFTROW(a,1);

c = { -3 0 , 1 2 , -1 -2};

or c=CIRCSHIFTCOLUMN(a,1);

c = { -2 -1 , 0 -3 , 2 1 };

Thanks


Back to: Top of message | Previous page | Main SAS-L page