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 (September 1997, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 6 Sep 1997 00:05:35 GMT
Reply-To:   Vincent Girard <vgirard@AGR.GOUV.QC.CA>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Vincent Girard <vgirard@AGR.GOUV.QC.CA>
Organization:   CRED - MAPAQ
Subject:   derivative in Proc IML

Hello SAS-ler, any good idea to obtain more elegantly DMAT?

proc iml; MAT={23,22,25,34,56}; DMAT=.//MAT[2:nrow(MAT),]-MAT[1:(nrow(MAT)-1),];

MAT DMAT 23 . 22 -1 25 3 34 9 56 22


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