linalg(deprecated)/det - Help

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

det

  

determinant of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

det(A)

det(A, sparse)

Parameters

A

-

two-dimensional square matrix

sparse

-

optional directive

Description

• 

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

  

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

• 

The function det computes the determinant of the given matrix.

• 

The second argument (optional) specifies that the computational method of minor expansion should be used.  This works well for sparse matrices.

• 

With no extra argument, a decision is made automatically whether to use minor expansion or Gaussian elimination (or a combination of both). Specifying the extra argument eliminates the overhead of the decision process if you happen to know ahead of time that minor expansion will work best.

• 

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

Examples

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

withlinalg:

Ahilbert3

A11213121314131415

(1)

detA

12160

(2)

Bmatrix2,2

B`?`1,1`?`1,2`?`2,1`?`2,2

(3)

detB

B1,1B2,2B1,2B2,1

(4)

See Also

linalg(deprecated)[gausselim]

LinearAlgebra