linalg(deprecated)/copyinto - Help

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