linalg(deprecated)/inverse - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

inverse

  

compute the inverse of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

inverse(A)

Parameters

A

-

square matrix

Description

• 

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

  

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

• 

The function inverse computes the matrix inverse of A. An error occurs if the matrix is singular.

• 

This function uses Cramer's rule for matrices of dimension less than or equal to 4 by 4, and for matrices with the 'sparse' indexing function.

• 

For other matrices, the inverse is computed by applying the operations for the Gauss-Jordan reduction of A to an identity matrix of the same shape.

• 

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

Examples

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

withlinalg:

Aarray1,x,2,3

A1x23

(1)

inverseA

32x3x2x322x312x3

(2)

See Also

linalg(deprecated)[det]

linalg(deprecated)[gaussjord]

LinearAlgebra