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:

Emptyp Calculator

Emptyp

Function: emptyp (<a>) Return true if and only if <a> is the empty set or the empty list.

Examples:

          (%i1) map (emptyp, [{}, []]);
          (%o1)                     [true, true]
          (%i2) map (emptyp, [a + b, {{}}, %pi]);
          (%o2)                 [false, false, false]

(%o1)                                true
(%i2) 

Emptyp Example

Related Examples

emptyp-makelist-permutations

n2:3;

a:makelist(i,i,1,n2);

b:permutations(a);

Calculate

emptyp-makelist-permutations

n2:3;

a:makelist(i,i,1,n2);

b:permutations(a);

Calculate

emptyp-makelist-permutations

n2:3;

a:makelist(i,i,1,n2);

b:permutations(a);

Calculate

emptyp-makelist-permut

n2:4;

a:makelist(i,i,1,n2);

b:permut(a);

Calculate

emptyp-permutations-rest

a:[1,2,3];

b:permutations(a);

rest(b);

Calculate

emptyp-permutations-rest

a:[1,2,3];

b:permutations(a);

rest(b);

Calculate

emptyp-makelist-permutations

n2:4;

a:makelist(i,i,1,n2);

b:permutations(a);

Calculate

emptyp-makelist-permutations

n2:4;

a:makelist(i,i,1,n2);

b:minimum_change_perm...

Calculate

emptyp-makelist-permut

n2:4;

a:makelist(i,i,1,n2);

b:permut(a);

Calculate