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:

Subsetp Calculator

Subsetp

Function: subsetp (<a>, <b>) Returns true if and only if the set <a> is a subset of <b>.

subsetp complains if either <a> or <b> is not a literal set.

Examples:

          (%i1) subsetp ({1, 2, 3}, {a, 1, b, 2, c, 3});
          (%o1)                         true
          (%i2) subsetp ({a, 1, b, 2, c, 3}, {1, 2, 3});
          (%o2)                         false

There are also some inexact matches for subsetp. Try ?? subsetp to see them.

(%o1)                                true
(%i2) 

Subsetp Example

Related Examples

subsetp

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

subsetp ({a, 1, b, 2...

Calculate

subsetp

subsetp({}, {{}});

Calculate

subsetp

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

subsetp ({a, 1, b, 2...

Calculate

subsetp

subsetp({}, {{}});

Calculate