linalg(deprecated)/copyinto - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/copyinto

linalg(deprecated)

  

copyinto

  

move entries from one matrix into another

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

copyinto(A, B, m, n)

Parameters

A, B

-

matrices

m, n

-

non-negative integers

Description

• 

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.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Copy], instead.

withlinalg:

Amatrix2,2,1,2,3,4

A1234

(1)

BextendA,2,2,0

B1200340000000000

(2)

copyintoA,B,3,3

1200340000120034

(3)

See Also

linalg(deprecated)/concat

linalg(deprecated)[augment]

linalg(deprecated)[extend]

linalg(deprecated)[submatrix]

LinearAlgebra