Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The SAS/IML language provides standard elementwise operators such as addition, subtraction, multiplication, and division. See Section 2.12 for details. The following table lists frequently used SAS/IML operators:
| Statement | Description |
|---|---|
| & | Logical AND |
| | | Logical OR |
| ^ | Logical negation |
| - | Elementwise unary negation |
| + | Elementwise addition |
| - | Elementwise subtraction |
| # | Elementwise multiplication |
| / | Elementwise division |
| ## | Elementwise power |
| * | Matrix multiplication |
| ** | Matrix power |
| ` | Matrix transpose |
| || | Horizontal concatenation of matrices |
| // | Vertical concatenation of matrices |