as multiset - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


verify/as_multiset

verify the relation between the operands as though they were multisets

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

verify(expr1, expr2, as_multiset)

verify(expr1, expr2, as_multiset(ver))

verify(expr1, expr2, as_multiset(ver, f))

Parameters

expr1, expr2

-

anything

ver

-

verification for the operands

f

-

anything

Description

• 

The verify(expr1, expr2, as_multiset) calling sequence is equivalent to the call verify([op(expr1)], [op(expr2)], multiset).

• 

The verify(expr1, expr2, as_multiset(ver)) calling sequence is equivalent to the call verify([op(expr1)], [op(expr2)], multiset(ver)).

• 

The verify(expr1, expr2, as_multiset(ver, f)) calling sequence is equivalent to the call verify([op(expr1)], [op(expr2)], multiset(ver)) with op⁡0,expr1=f and op⁡0,expr2=f.

Examples

> 

verify⁡f⁡a,b,b,g⁡b,a,b,as_multiset

true

(1)
> 

verify⁡f⁡a,b,b,g⁡b,a,a,as_multiset

false

(2)
> 

verify⁡f⁡a,b,x2−2⁢x+1,g⁡b,a,x−12,as_multiset⁡expand

true

(3)
> 

verify⁡a,b,b,f⁡b,a,b,as_multiset⁡boolean,f

false

(4)
> 

verify⁡f⁡a,b,b,f⁡b,a,b,as_multiset⁡boolean,f

true

(5)

See Also

op

verify

verify/as_set

verify/multiset