input_matrix(r, c, prompt)

Displays a dialog window with an empty table with r rows and c columns for the user to enter a matrix. The text prompt is an optional message to be displayed on the dialog window.

input_matrix(a, prompt)

Displays a dialog window with a table of values for the user to enter a matrix. The table is initialized with the values stored in matrix a. The text prompt is an optional message to be displayed on the dialog window.


Example


a = input_matrix( 5, 6, "Enter your numbers")

a = input_matrix( m, "Please change these values.")