construct a copy of a Matrix or Vector - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : Constructors : LinearAlgebra/Copy

LinearAlgebra[Copy] - construct a copy of a Matrix or Vector

Calling Sequence

Copy(MV)

Parameters

MV

-

Matrix or Vector to copy

Description

• 

The Copy(MV) command returns an identical copy of its argument, MV.  Because this copy is not simply another reference to MV, changes to MV or to the copy do not affect the other.

Examples

withLinearAlgebra:

v:=Vectorrow1,2,3,datatype=float8,attributes=blue

v:=1.2.3.

(1)

w:=Copyv

w:=1.2.3.

(2)

attributesw

blue

(3)

w1:=10:

v1

1.

(4)

M:=Matrix1,2,3,4,5,6,scan=triangularupper,shape=triangularupper

M:=123045006

(5)

N:=MatrixM

N:=123045006

(6)

MatrixOptionsM

shape=triangularupper,datatype=anything,storage=triangularupper,order=Fortran_order

(7)

MatrixOptionsN

shape=,datatype=anything,storage=rectangular,order=Fortran_order

(8)

P:=CopyM

P:=123045006

(9)

MatrixOptionsP

shape=triangularupper,datatype=anything,storage=triangularupper,order=Fortran_order

(10)

See Also

Matrix, Vector


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam