Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Setequalp

Function: setequalp (<a>, <b>) Returns `true` if sets <a> and <b> have the same number of elements and `is(<x> = <y>)` is `true` for `x` in the elements of <a> and `y` in the elements of <b>, considered in the order determined by `listify`. Otherwise, `setequalp` returns `false`.

Examples:

```          (%i1) setequalp ({1, 2, 3}, {1, 2, 3});
(%o1)                         true
(%i2) setequalp ({a, b, c}, {1, 2, 3});
(%o2)                         false
(%i3) setequalp ({x^2 - y^2}, {(x + y) * (x - y)});
(%o3)                         false```

```(%o1)                                true
(%i2) ```

### Related Examples

##### setequalp

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

setequalp ({a, b, c}...

setequalp ({x^2 - y^...

Calculate

? setequalp;

Calculate

##### setequalp

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

setequalp ({a, b, c}...

setequalp ({x^2 - y^...

Calculate

##### setequalp

? setequalp;

Calculate 