Dataplot Vol 1 Vol 2

# MATRIX DIMENSION

Name:
MATRIX DIMENSION
Type:
Support Command
Purpose:
Specifies the row and column dimensions for matrix operations.
Description:
The matrix operations were significantly rewritten 1998/5 to make better use of scratch storage. This significantly increased the size matrices Dataplot can handle.

There are 920,000/3 = 306,666 elements for temporary matrices when performing matrix manipulations. The default is to use 3,000 rows and 100 columns. The largest square matrix is about 550x550.

The MATRIX DIMENSION allows you to modify the rows and columns for the temporary matrices. The number of rows cannot be set greater than the maximum number of rows for a variable (set to 20,000 on the default implementation).

Since this command only dimensions temporary matrices during the computations, you can enter this command as often as you wish during a single Dataplot session.

Syntax 1:
MATRIX DIMENSION COLUMNS <ncols>
where <ncols> is a number or parameter that specifies the maximum number of columns for the temporary matrices.
Syntax 2:
MATRIX DIMENSION ROWS <nrows>
where <nrows> is a number or parameter that specifies the maximum number of rows for the temorary matrices.
Examples:
MATRIX DIMENSION ROWS 2000
MATRIX DIMENSION COLUMNS 500
Default:
The default is 3,000 rows by 100 columns.
Synonyms:
None
Related Commands:
 DIMENSION = Dimension the Dataplot workspace. STATUS = Displays dimension, variables, parameters, functions, etc. SET = Sets the value of an internal variable.
Applications:
Matrix Manipulation
Implementation Date:
1998/5
Program:
MATRIX DIMENSION 550 COLUMNS
LET Y = NORM RAND NUMB FOR I = 1 1 500
LET D = DIAGNONAL MATRIX Y

NIST is an agency of the U.S. Commerce Department.

Date created: 06/05/2001
Last updated: 11/03/2015

Please email comments on this WWW page to alan.heckert@nist.gov.