Student[LinearAlgebra][MatrixBuilder] - interactive matrix builder
Calling Sequence
MatrixBuilder()
MatrixBuilder(A,minrc,maxrc,options)
Parameters
A
-
Matrix (optional) Matrix to modify
minrc
posint (optional) minimum number or rows and columns
maxrc
posint (optional) maximum number of rows and columns
options
(optional) equation(s) of the form keyword = truefalse, where keyword is either 'square', 'augmented', 'sqrstatic', or 'augstatic'
Options
The option 'square' = truefalse controls the default value of the square check box.
The option 'augmented' = truefalse controls the default value of the augmented check box. If 'augmented'= true, A is provided and is a one column matrix, an error is returned.
If the option 'sqrstatic'= true then the square check box in the maplet is disabled, otherwise it is enabled.
If the option 'augstatic'= true then the augmented check box in the maplet is disabled, otherwise it is enabled.
Description
The MatrixBuilder command provides an interactive interface for the creation of Matrices up to 5 x 5 in dimension. These matrices can be visualized as augmented matrices. The maplet provides a view of the matrix A, a variable view of A·x or A·x=b in the case of an augmented matrix, and text boxes to enter the entries. When closed, the maplet returns the created matrix.
The maplet has drop-down lists to choose the number of rows and columns of the matrix. The matrix entries are typed in the text boxes.
There are check boxes that determine whether the matrix should be considered square, and/or augmented. If square, the number of columns is controlled by the number of rows. If augmented, the number of columns of the augmented matrix must be greater than one.
The Matrix A can be used to initialize the MatrixBuilder. The parameters minrc and maxrc can only be positive integers from 1 to 5 and provide the minimum and maximum number of rows and columns of the matrix. If A is provided and its dimensions do not satisfy these constraints, an error is returned. Also, if parameters are specified, the first one has to be the matrix A.
Examples
with⁡StudentLinearAlgebra:
MatrixBuilder⁡
A≔Matrix⁡61,22,−41,96,−81,24,53,−99,−65
MatrixBuilder⁡A
MatrixBuilder⁡A,2,4,square=true,sqrstatic=true,augstatic=true
A≔Matrix⁡61,22,−41,−18,96,−81,24,6,53,−99,−65,50
MatrixBuilder⁡A,2,5,square=false,augmented=true,augstatic=true
See Also
Student, Student[LinearAlgebra], Student[LinearAlgebra][InteractiveOverview]
Download Help Document