Working with Matrices |
Operators used in matrix expressions fall into three general categories:
Matrix operators are listed in Appendix 1, "SAS/IML Quick Reference," and described in detail in Chapter 20.
Table 4.1 shows the precedence of matrix operators in Interactive Matrix Language.
Table 4.1: Operator PrecedencePriority Group | Operators | ||||||
I (highest) | ^ | subscripts | -(prefix) | ## | ** | ||
II | * | # | <> | >< | / | @ | |
III | + | - | |||||
IV | // | : | |||||
V | < | <= | > | >= | = | ^= | |
VI | & | ||||||
VII (lowest) | | |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.