IDL REFERENCE MANUALD:SUMMARY LIST OF FUNCTIONS1Appendix DSummary list of IDL functionsThis appendix lists the functions available in the IDL system, giving their arguments and abrief description of their behavior. The functions are described in the M-Lisp notation usedin the Interlisp and IDL manuals. Thus, even though the function names appear here inlower-case, you must type them in upper-case to IDL.adjoin[vector...]No-spread. Produces a new vector formed by joining its arguments together end toend.anova[mtable;nesting]Produces a matrix containing a summary table for the analysis of variance ofmoments array mtable, where nesting is an optional specification of the nestingrelations between the independent variables.assign[target;source]The IDL assignment operator. target must be a selection on some array, and thatarray will be side-effected. The infix operator _ translates to assign if an arrayselection expression appears as its left-hand operand.at[a;sltr]The IDL selection operator. Produces an array as output which is a window onto thesection of a described by sltr. sltr may be a list of length no greater than thenumber of dimensions of a to specify a selection of a's values, or a label or codeselector. The infix operator @ is associated with at.code[lev;val]Constructs a code selector to be given to at. If lev is NIL, the selector can be usedto reference the value-labeled dimension of the array to which it is applied by at.Otherwise, if val is NIL, the selector will reference the complete codebook associatedwith level lev on the array's value-labeled dimension. If val is a non-NIL literal atom,it will reference the value associated with it on level lev. Finally, if val is a scalar, itwill reference the label associated with that value.copy[x]The Interlisp copy function extended to copy IDL arrays (which may be the value of xor may appear at arbitrary levels in the list-structure x). Assigning into a copy of anarray will not affect the original.counts[a]A generic function that returns the sum of the elements of a just like rplus, exceptthat it skips over NIL's. In effect, it produces contingency tables for arrays that havebeen previously grouped.covar[a;wt]Builds the covariation matrix (sums of mean centered cross products) for thecolumns of matrix a, using wt as a weighting vector. Returns a symmetric matrix,whose last row represents a mythical Constant variable (with value always 1) that hasbeen swept out, so that the last row has the means of the columns of a, and -1/n inthe last cell.deal[n]Returns a vector containing a random permutation of the integers from 1 to n.î ·ïfðpô€qpqîDÄpî ·ïekqpôqpqîGÙïfðpî%úïbrô„ îLï^òî ·ïZòpô«ð!ô¬ð:î ·ïYmô—ðHô˜î ·ïWèô¾ðAô¿î ·ïVcôð4î ·ïRcî‰ïPÞô©ôªð;î‰ïOYî ·ïL-î‰ïJ¨ôÿð@ô î‰ïI#ôÆ rprpôÇî‰ïGžôð,î ·ïDrî‰ïBíô§rpô¨ð'î‰ïAhôÕðAspôÖ î‰ï?ãôð6î ·ï<· î‰ï;2ô‡ôˆðBî‰ï9­ôÅ rp rprpôÆð(î‰ï8(ô¯rpô°rpî‰ï6£ôð3spî ·ï3w î‰ï1òô—ô˜sprpqpî‰ï0mô¿ðLôÀspî‰ï.èô� rpqp ô�ð0î‰ï-c rpô‘ð-rp qp î‰ï+Þô�ð8rpô‘ rpî‰ï*Yôð4î ·ï'-î‰ï%¨ô… spô†ð/rî‰ï$#pô“ð8rp ô”spî‰ï"žôð#î ·ïrî‰ïíô©ð#ôªrp spî‰ïhô”qpô•ð4î‰ïãôî ·ï· î‰ï2ô ð4ô î‰ï­ô­rprpô®î‰ï(ôˆð%tpô‰î‰ï£ô�ðErpô� î‰ïô î ·ï òî‰ï môãðKrpÿ J · &=ç\ätIDL REFERENCE MANUALD:SUMMARY LIST OF FUNCTIONS2dumpidlarray[a;file]Writes a symbolic expression on file (primary output file if file is NIL) from whichreadidlarray can reconstruct an array equivalent to a. If file is not an open file, it isopened, the expression is printed, and then file is closed.eapply[fn;expects;args]Extended APPLY. Applies fn to each section of the decomposition of argsaccording to expects, an expectation list.eapply*[fn;expects;args...]No-spread. Extended APPLY*. Applies fn to each section of the decomposition ofargs according to expects.elementtype[a]Returns the type (INTEGER or FLOATING) of the elements of a, an array.ems[nlevels;nesting;random]Produces an expected mean squares coefficient table for an analysis of variancedesign with factor levels given by nlevels, the nesting relationships by nesting, andthe factors in random considered random. nlevels can be the moments table itself,as well as just the shape of its classification space.extend[fn;expects]Modifies fn so that it will automatically extend across array arguments according toexpects.format[a]Returns the format (either FULL or SYMMETRIC) of array a.fprob[f;dfnum;dfden]Returns the probability of F-value f, with degrees of freedom dfnum, dfden.genvec[initial;end]Generates a vector of the numbers from initial to end. If initial is a two elementvector, it is taken as the first two terms of the series (i.e. it specifies an increment).Thus, (GENVEC '(3 5) 11) generates the odd integers from 3 to 11.group[attribs;values]Contructs an array of m+n dimensions, where m is the number of columns of thematrix attribs, and n the dimensionality of values. The values in each row ofattribs are used as a subscript for an m-dimensional array whose extents are givenby the number of distinct values found in the corresponding column of attribs. Theoutput is formed by grouping all row-planes of values corresponding to equal rowsof attribs in the m-space location addressed by that row. In effect, group places therow-planes of values within the cells of the classification design represented byattribs. If values is NIL, it is defaulted to a constant vector of 1's with length thenumber of rows of attribs. This produces an object from which counts will computea contingency table.hist[v;file]Prints a histogram for v, a vector, to the primary output file, or to file if given.Supresses multiple identical lines whenever their number exceeds the value ofHISTRPTLINES. If file is not an open file, it is opened, the histogram is printed, andthen file is closed.idlmatrix[data]Produces a two-dimensional IDL array from data, a list structure describing its labelsÿî ·ïfðpô€qpqîDÄpî ·ïekqpôqpqîGÙïfðpî ·ïbî‰ï`™ô¿rpôÀrtutp î‰ï_s tô’ð(vprpô“î‰ï]�ôð,rp î ·ïZcî‰ïXÞôrpôð!rî‰ïWYpô rpî ·ïT-î‰ïR¨ô¡ð&rpð%ô¢î‰ïQ#rpô rpî ·ïM÷ î‰ïLrqpqprp î ·ïIFî‰ïGÁôÏð7ôÐî‰ïF<ô“ô”rprpî‰ïD·ôŒrp ô� rpð!î‰ïC2ôð6î ·ï@î‰ï>�ô£rpô¤ð+î‰ï<ürpî ·ï9Ðî‰ï8Kôqpqp rpî ·ï5î‰ï3šsprprprpî ·ï0nî‰ï.éô©ð'rprpôªrpî‰ï-dôŸô ð@î‰ï+ßôqpð)î ·ï(³î‰ï'.ô²ð+ô³ð"î‰ï%©ôÖrpô×rpî‰ï$$rpô˜ ô™ð=î‰ï"Ÿô�ðBô�rpî‰ï!ô¡ô¢rpî‰ï•ôƒrpð%ô„sp î‰ïôÙ rpð'ôÚî‰ï‹rpô§rpqpô¨î‰ïôˆrpð%ô‰sp î‰ï�ôî ·ïU î‰ïÐôÓrpð*ôÔrp î‰ïKôôð1î‰ïÆq pô¬rpô­ðAî‰ïAôrp î ·ï î‰ï �ôŒð*rpô�ð' n · I:l\Á“IDL REFERENCE MANUALD:SUMMARY LIST OF FUNCTIONS3and values. data is a list each element of which is a list representing one row of theoutput matrix: the CAR contains the row label to be assigned, and the CDR is a list ofthe values for that row. The row specifications may be optionally preceded by onelist of the form (TITLES title-string dimension1-label dimension2-label), and another ofthe form (LABELS level1-labels level2-labels ...). The level labels are for levels on thesecond dimension of the output, and each one may be NIL (meaning no level label) anon-NIL literal atom which provides a level label but no codebook for thecorresponding level, or a list of the form (level-label . codebook). invert[m]Produces the matrix inverse of m. Equivalent to -(SWEEP m ALL).keep[ary;dims...]No-spread. Produces a copy of ary with dims added to its kept dimensions. If dimsis the literal ALL, then all the dimensions of ary will be kept. If no dims arespecified, a vector of the currently kept dimensions is returned.label[dim;lev]Constructs a label selector to be given to at that will reference the label fordimension dim (if lev is NIL) or the label for level lev on dimension dim.leave[ary;dims...]No-spread. Produces a new array from ary with dims removed from its keptdimensions. If the first of dims is the literal ALL, then all of its kept dimensions willbe eliminated.listmatrix[m]Converts IDL matrix m into a list structure from which idlmatrix can reconstruct theoriginal.mprod[a;b]Matrix product of a and b. If they are vectors, mprod coerces them in the obviousway.max[scalar...]No-spread. Returns the maximum value of its arguments.min[scalar...]No-spread. Returns the minimum value of its arguments.moments[a;wt;m]Returns a vector of length m+1 containing the number of non-NIL values (moment 0)and the first m moments of array a, using wt as a weighting array. The first momentis the mean, the second is the variance, the third is the skew, etc. If m is NIL, it isdefaulted to 2 and the n, mean, and variance are computed.norm[m]Norms matrix m by dividing each entry by the square root of the product of its basis{diagonal} elementsnprob[z]Returns the one-tailed probability of a normal deviate of size z.order[v;cfn]Returns a permutation vector which will order vector v by comparison function cfn.If cfn is not specified, a function which will sort it into ascending order is used.ÿî ·ïfðpô€qpqîDÄpî ·ïekqpôqpqîGÙïfðpî‰ïbô† rpô‡ð7î‰ï`™ô‹qpð/ôŒqp î‰ï_ô¥ðBô¦î‰ï]�ôŸ ô qpð@î‰ï\ ô™ qpð<ôš î‰ïZ…ô�ôŽð$qpî‰ïYqpô=ô>ð&î‰ïW{ôðFî ·ïTOî‰ïRÊrpî ·ïOžî‰ïNô€ô�rprpð#rî‰ïL”pôãôäqprprpî‰ïKôðAî ·ïGã î‰ïF^ôÿð'ôspð"î‰ïDÙ rprpqprp rpî ·ïA­î‰ï@(ôñð&rpôòrpî‰ï>£ôœô�rpqpð&î‰ï=ô î ·ï9ò î‰ï8mô¢rpô£spî‰ï6èî ·ï3¼ î‰ï27ôªrprpô«spî‰ï0²î ·ï-† î‰ï,ôð7î ·ï(Õ î‰ï'Pð7î ·ï$$î‰ï"Ÿô‹rpqpôŒî‰ï!ô‡ rprprpôˆð%î‰ï•ôŸô ð2rpqpî‰ïôð:î ·ïäî‰ï_ô‘ rpð-ô’î‰ïÚôî ·ï®î‰ï)ð?rpî ·ïý î‰ïxô ð"ô¡rprpî‰ï óôÆrpôÇðN n · ¬:l[^jIDL REFERENCE MANUALD:SUMMARY LIST OF FUNCTIONS4pairn[a;wt]Returns a matrix of the pairwise N corresponding to a covariation matrix on a, usingwt as a weighting vector.plot[y;x;file]Plots the vector y against the vector x (1 thru length y, if not given) on the primaryoutput file, or file if specified. The axes are scaled so that they are approximatelythe same size. This scaling is controlled by the global variable PLOT.AXIS.RATIO. If fileis not an open file, it is opened, the plot is printed, and then file is closed.plusp[x]A predicate which is T if the scalar x is a positive number.pool[mtable]Collapses mtable into a 3-vector of the pooled cell N, cell means, and mean-centered sum of squares. Effectively removes factors from a moments array.ppa[a;file]Prints the array a on the primary output file, or file if specified. If file is not an openfile, it is opened, the array is printed, and then file is closed. The precison ofnumbers in the table is determined by the global variable PRECISION, a list specifyingthe number of digits to appear to the right and left of the decimal point. The initialsetting is (4 3) so that numbers are printed in the format rrrr.lll. The global variableROWLABELWIDTH is an integer determining the number of columns to leave for thelabels on rows (initally 8).randn[mean;stdev]Returns a single number randomly sampled from the normal distribution with meanmean (default 0) and standard deviation stdev (default 1).rank[a]Ranks the array a in ascending order. Result will be integer unless floating isnecessary to resolve ties. Cells containing NIL are ignored in computing the ranks,and the corresponding cells in the value will be NIL.readidlarray[file]Constructs an IDL array from an expression read from file (primary input file if file isNIL). If file is not an open file, it is opened, the expression is read, and then file isclosed. dumpidlarray produces an expression of the appropriate form.reduce[a;fn;startval]Applies function fn left associatively to the elements of a. If startval is given, fn isfirst applied to startval and a1, otherwise to a1 and a2. Thus, (REDUCE ARY 'NCONC1NIL) returns a list of the elements of ARY. This function distinguishes the situtationwhere startval is specified as NIL from the case where it is not specified at all:(REDUCE ARY 'NCONC1) will leave a1 out of its value.reshape[a;newshape;newformat]Reshapes a to an array of shape newshape and format newformat. The elementsof a are put into the new array in rowmajor order. If newshape is NIL, a is simplyflattened into a vector. If newformat is NIL, it is defaulted to FULL.rplus[a]Equivalent to reduce[a;function[plus]], but more convenient to type.rtimes[a]Equivalent to reduce[a;function[times]], but more convenient to type.ÿî ·ïfðpô€qpqîDÄpî ·ïekqpôqpqîGÙïfðpî ·ïb î‰ï`™ô–ô—qpð*rpî‰ï_rpôî ·ï[è î‰ïZcôšrpô›rprpî‰ïXÞô§rpô¨ð/î‰ïWYô‚ôƒð.qprî‰ïUÔpôöð7ô÷ rp î ·ïR¨î‰ïQ#ôð%rtpî ·ïM÷ î‰ïLrôï rpôðqpî‰ïJíôðKî ·ïGÁ î‰ïF<ô„rpô…rprpî‰ïD·ôÓð3rp ôÔî‰ïC2ô�ôžð#qpî‰ïA­ôŸðWî‰ï@(ô™ð,ôšð-î‰ï>£q pôÌôÍð>î‰ï=ôî ·ï9òî‰ï8mô±ð8ô²î‰ï6èrtôð$vt pî ·ï3¼î‰ï27ôàrpð3ôá î‰ï0²ôªð,ô«utð$î‰ï/-ôð1utî ·ï,pî‰ï*|ô‰ð5rtôŠvtî‰ï(÷utpô™rpð;ôš rpî‰ï'rôs tð0î ·ï$Fpî‰ï"Áô•rpð'rpô–rp rpî‰ï!<ô™rprï ¯qï!SHOW are included in IDL. Thus, the command SHOWî ·ïfðpô€qpqîDÄpî ·ïekqpôqpqîGÙïfðpî ·ïbî‰ï`™rpô‡ôˆðFî‰ï_ôrpð'rpî ·ï[èî‰ïZcð+rpî ·ïW7î‰ïU²ôžð)rp ôŸrp î‰ïT-ôòrpôóî‰ïR¨rpî ·ïO|î‰ïM÷ôúð(spôûî ·ïJË î‰ïIFôsp rprpî ·ïFî‰ïD•ô•rprprpô–î‰ïCôŠð&ô‹rprpð)î‰ïA‹ô©ð%ôª rpî‰ï@ô�ð'rpôŽ î‰ï>�ô‹ð'upôŒtuî‰ï<üvtôËutôÌwtutî‰ï;wôÔwtpôÕrtî‰ï9òôvtî ·ï6Æpî‰ï5Aô� rpð5ô� î‰ï3¼ô‡ð%ôˆrpð&î‰ï27ô�ðJô�rpî‰ï0²ôð'î ·ï,ô³ð8ô´spspî ·ï*|ôÝð,ôÞð+î ·ï(÷ô£ô¤ðGî ·ï'rôð:î ·ï$FôÁð/qp ôÂî ·ï"Áôêôë qpqpî ·ï!<ô‘ô’ðBî ·ï·ô î ·ïVqð9î ·ïõpî ·ïpqôúðDôûpî ·ïDôŠô‹u pî ·ï¿ô‰spspqp ôŠî ·ï:ôî ·ïô‚qpôƒð7î ·ï‰ôÈôÉð&q pî ·ïô�ð@ô�î ·ï ôðQî ·ï Sô°ô±qpqpð)qÿ ¢ · >ç]þšIDL REFERENCE MANUALD:SUMMARY LIST OF FUNCTIONS6may be given to the INTERLISP executive to cause the value of the last expression typed into be pretty-printed. If that value happens to be an IDL array, the function ppa willautomatically be invoked. The variable IT may be used in an expression to refer to the valueof the preceding expression. These two augmentations to the Lisp system greatly improvethe convenience of IDL interactions. For more details, see SHOW.TTY. î ·ïfðpô€qpqîDÄpî ·ïekqpôqpqîGÙïfðpî ·ïbô’ðFô“î ·ï`™ôîðDôï spî ·ï_ôˆô‰ qpð3î ·ï]�ô¥ð5ô¦ð#î ·ï\ ôð=qpqpî ·ïXÞÿæ ·X—=çsU HELVETICA  HELVETICA HELVETICA  HELVETICA  HELVETICA  HELVETICA HELVETICA MATH Œm–Rf'«)ÿÿj/,*‘±úKÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿAPPENDIXD.BravoKAPLANJune 16, 1978 9:57 PM