enlarge a matrix
extend(A, m, n, x)
extend(A, m, n)
(optional) an expression
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Matrix], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The call extend(A, m, n, x) returns a new matrix which is a copy of the matrix A with m additional rows and n additional columns. The new entries are initialized to x.
If the optional fourth argument x is omitted, then the matrix is extended by m rows and n columns but the entries in those rows and columns are not assigned.
The command with(linalg,extend) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)