User Guide
To set the maximum dimension of matrices and vectors displayed inline:
• Use the interface command with the rtablesize option.
For example, interface(rtablesize = 15).
For more information, refer to the ?interface help page.
Creating Matrices and Vectors for Large Problems
By default, matrices and vectors can store any values. To increase the effi-
ciency of linear algebra computations, create matrices and vectors with
properties. You must specify the properties, for example, the matrix or vector
type or the data type, when defining the object.
The Matrix palette (Figure 4.2) supports several properties.
To specify the matrix type:
• Use the Shape and Type drop-down lists.
To specify the data type:
• Use the Data type drop-down list.
For example, define a diagonal matrix with small integer coefficients.
In the Matrix palette:
1. Specify the size of the matrix, for example, .
2. In the Shapes drop-down list, select Diagonal.
3. In the Data type drop-down list, select integer[1].
4. Click the Insert Matrix button.
5. Enter the values in the diagonal entries.
4.3 Linear Algebra • 141