Previous Page | Next Page

Understanding the SAS/IML Language

Creating Matrices from Matrix Literals

You can create a matrix by using matrix literals: simply list the element values inside of curly braces. You can also create a matrix by calling a function, a subroutine, or an assignment statement. The following sections present some simple examples of matrix literals. For more information about matrix literals, see Chapter 5, Working with Matrices.

Previous Page | Next Page | Top of Page