linalg(deprecated)/permanent - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

permanent

  

compute the permanent of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

permanent(A)

Parameters

A

-

square matrix

Description

• 

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

  

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

• 

The permanent of a matrix is computed in a way similar to the determinant. The permanent of an arbitrary 2x2 matrix, abcd, is ad+bc. To compute the permanent of larger matrices, minor expansion is used in the same manner as when computing determinants, only without alternating sign while expanding along a row or column.

• 

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

Examples

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

> 

with⁡linalg:

> 

A≔matrix⁡1,2,3,4,5,6,7,8,9

A≔123456789

(1)
> 

permanent⁡A

450

(2)
> 

B≔matrix⁡a,b,c,d,e,f,g,h,i

B≔abcdefghi

(3)
> 

permanent⁡B

a⁢e⁢i+a⁢f⁢h+b⁢d⁢i+b⁢f⁢g+c⁢d⁢h+c⁢e⁢g

(4)

See Also

linalg(deprecated)[det]

LinearAlgebra