Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Permutations Calculator

Permutations

Function: permutations (<a>) Returns a set of all distinct permutations of the members of the list or set <a>. Each permutation is a list, not a set.

permutations([a, c]);

When <a> is a list, duplicate members of <a> are included in the permutations.

permutations complains if <a> is not a literal list or set.

See also random_permutation.

Examples:

          (%i1) permutations ([a, a]);
          (%o1)                       {[a, a]}
          (%i2) permutations ([a, a, b]);
          (%o2)           {[a, a, b], [a, b, a], [b, a, a]}

(%o1)                                true
(%i2) 

Permutations Example

Related Examples

permutations

permutations([a,b,c]);

Calculate

permutations

permutations ([1,4,5,...

Calculate

permutations

permutations ([a, b, ...

Calculate

permutations

permutations([a, c]);

Calculate

permutations-powerset

permutations ([1, 2]);

powerset ({1, 2, 3},...

Calculate

permutations

permutations([a, c, k...

Calculate

permutations

permutations ([2, 1]^2);

Calculate

permutations

Positionen:[-2,-1,0.5...

Massen:[5,10,15,20];

Reihenfolge:permutati...

Calculate

permutations

? permutations;

Calculate

permutations

permutations([a, c]);

Calculate