linalg(deprecated)
copyinto
move entries from one matrix into another
Calling Sequence
Parameters
Description
Examples
copyinto(A, B, m, n)
A, B
-
matrices
m, n
non-negative integers
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Copy], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The function copyinto(A, B, m, n) copies the entries of the matrix A into the matrix B beginning at index position m,n, so Bm,n is assigned A1,1. This function and linalg[extend] are used to create new matrices from old ones.
The command with(linalg,copyinto) allows the use of the abbreviated form of this command.
with⁡linalg:
A≔matrix⁡2,2,1,2,3,4
A≔1234
B≔extend⁡A,2,2,0
B≔1200340000000000
copyinto⁡A,B,3,3
1200340000120034
See Also
linalg(deprecated)/concat
linalg(deprecated)[augment]
linalg(deprecated)[extend]
linalg(deprecated)[submatrix]
LinearAlgebra
Download Help Document