Row Operations - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : SubOperations : Student/LinearAlgebra/AddRow

Row Operations

Student[LinearAlgebra][AddRow] - add a multiple of a row of a Matrix to another row

Student[LinearAlgebra][MultiplyRow] - multiply a row of a Matrix by a scalar

Student[LinearAlgebra][SwapRow] - swap two rows of a Matrix

Calling Sequence

AddRow(A, i, j, s)

MultiplyRow(A, i, s)

SwapRow(A, i, j)

Parameters

A

-

Matrix

i, j

-

integers; row selection

s

-

algebraic; multiplier

Description

• 

The AddRow(A, i, j, s) command replaces row i of A with row i + s * row j.  This command can also be called as AddRows(A, i, j, s).

• 

The MultiplyRow(A, i, s) command replaces row i of A with s * row i.

• 

The SwapRow(A, i, j) command interchanges rows i and j of A.  This command can also be called as SwapRows(A, i, j).

Examples

withStudent[LinearAlgebra]:

A:=1,3,7|4,5,6

A:=143576

(1)

B:=AddRowA,2,1,3

B:=140776

(2)

SwapRowB,1,3

760714

(3)

MultiplyRowA,2,x

143x5x76

(4)

See Also

LinearAlgebra[RowOperation], Student[LinearAlgebra]


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