# Matrix Parameters

For questions using matrix mode, the parameters listed in this table are used to set the type and size of the matrix, as well as provide label and expandable/static options.

Parameter Description Required? Values
matrix_mode Turns an answer blank into a matrix mode blank, setting the visual display.

By default, the matrix is expandable.

Yes

Values can be set to one of the following:

• matrix_mode='matrix' creates a matrix with expandable rows and columns
• matrix_mode='columnvectors' creates a matrix with expandable columns
• matrix_mode='rowvectors' creates a matrix with expandable rows
• matrix_mode='determinant' creates a determinant matrix with expandable rows and columns
matrix_dimensions Sets the default number of rows and columns. Yes  matrix_dimensions='RxC'

Values are set in the form of rows x columns and support numbers 1 to 8. For example, matrix_dimensions='3x5' sets the default dimensions to 3 rows and 5 columns.

matrix_label Adds a label in plain text format to the matrix. No matrix_label='myLabel'
Values can be set using plain text format. Values for column vectors have the same label, but with a subscript. Values for row vectors have the same label, but with a subscript.
Note WaTex, HTML, and symbol space format are not valid in a label; use an HTML table as a workaround.
matrix_static Turns off expandability of matrix. By default, a matrix is expandable. No matrix_static='true'

Value can only be set to true, which changes the matrix from expandable to static.