Permanent - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


LinearAlgebra

  

Permanent

  

compute the permanent of a square Matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Permanent(A)

Parameters

A

-

square Matrix

Description

• 

The Permanent(A) function computes the permanent of A.

  

Similar to the Matrix determinant, the permanent P(A) of an n x n Matrix A can be defined in terms of a sum along any row or column, with unsigned minor expansion, by the following definition.

  

For any i in 1 .. n,

  

PA=addAi,jPA_i,j,j=1..n

  

where

  

A_(i, j) is the i, jth minor of A given by

  

A_i,j=A1..i1,i+1..n,1..j1,j+1..n

  

which is A with the ith row and jth column removed.

  

 

  

This definition differs from that of the Determinant only by the absence of alternating signs of the terms in the sum.

• 

This function is part of the LinearAlgebra package, and so it can be used in the form Permanent(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[Permanent](..).

Examples

withLinearAlgebra:

Permanent5,1|2,4

22

(1)

Ai,l,o|j,m,p|k,n,q

Aijklmnopq

(2)

PermanentA

imq+inp+jlq+jno+klp+kmo

(3)

DeterminantA

imqinpjlq+jno+klpkmo

(4)

See Also

LinearAlgebra[Determinant]

LinearAlgebra[Minor]

Matrix