linalg(deprecated)/pivot - Help

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

pivot

  

pivot about a matrix entry

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

pivot(A, i, j)

pivot(A, i, j, r..s)

Parameters

A

-

matrix

i, j

-

positive integers

r..s

-

range of rows to be pivoted

Description

• 

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

  

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

• 

The function pivot pivots the matrix A about A[i, j] which must be non-zero.

• 

The function pivot(A, i, j) will add multiples of the ith row to every other row in the matrix, with the result that the (k, j)th entry of the matrix A is set to zero for all k not equal to i. That is, the jth column of the matrix will be all zeros, except for the (i, j)th element.

• 

The call pivot(A, i, j, r..s) acts like pivot(A, i, j) except that only rows r through s are set to zero in the jth column.  Rows not in the range r..s are not affected.

• 

The command with(linalg,pivot) allows the use of the abbreviated form of this command.

Examples

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

withlinalg:

Amatrix4,4,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6

A1234567890123456

(1)

ApivotA,2,1

A04585125567805455856250254565

(2)

ApivotA,3,2

A0020274027505910905455856250010272027

(3)

See Also

linalg(deprecated)[gausselim]

LinearAlgebra