linalg(deprecated)/mulcol - Help

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

mulcol

  

multiply a column of a matrix by an expression

  

mulrow

  

multiply matrix by an expression

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

mulcol(A, c, expr)

mulrow(A, r, expr)

Parameters

A

-

matrix

r, c

-

positive integers

expr

-

scalar expression

Description

• 

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

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The call mulcol(A, c, expr) returns a matrix which has the same entries as A with the cth column multiplied by expr. Likewise mulrow(A, r, expr) returns a matrix with the rth row multiplied by expr.

  

These functions are part of the linalg package, and so can be used in the form mulrow(..) only after performing the command with(linalg) or with(linalg, mulrow).  These functions can always be accessed in the long form linalg[mulrow](..).

Examples

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

withlinalg:

A1234

A1234

(1)

mulrowA,2,2

1268

(2)

mulcolA,2,x

12x34x

(3)

See Also

LinearAlgebra