Chapter Contents |
Previous |
Next |
Understanding the Language |
Creating matrices using matrix literals is easy. You simply input the element values one at a time, usually inside of braces. Representing a matrix as a matrix literal is not the only way to create matrices. A matrix can also be created as a result of a function, a CALL statement, or an assignment statement. Below are some simple examples of matrix literals, some with a single element (scalars) and some with multiple elements. For more information on matrix literals, see Chapter 4, "Working with Matrices."
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.