verify/listlist - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Logic : Boolean : verify : verify/listlist

verify/listlist

verify a relation between two objects of type listlist

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

verify(expr1, expr2, listlist)

verify(expr1, expr2, listlist(ver))

Parameters

expr1, expr2

-

anything, assumed to be of type listlist

ver

-

verification for the operands of the operands

Description

• 

The verify(expr1, expr2, listlist) and verify(expr1, expr2, listlist(ver)) calling sequences returns true if it can be determined that the two lists of lists satisfy the verification list or list(ver) operandwise.

• 

If true is returned, then each of the pairs of operands of lists satisfied the relation. If false is returned, then at least one pair of operands of the inner lists did not satisfy the relation (a result of type verify(false)). Otherwise, FAIL is returned, indicating that for at least one pair of operands of the inner lists it could not be determined whether or not they satisfied the relation (a result of type verify(FAIL)).

• 

The verifications verify(a, b, listlist) and verify(a, b, listlist(ver)) are equivalent to the calls verify(a, b, list(list)) and type(a, listlist) and type(b, listlist) and verify(a, b, list(list(ver))) and type(a, listlist) and type(b, listlist).

• 

The verification listlist is symmetric and a verification listlist(ver) is symmetric if and only if the verification ver is symmetric.

• 

If either expr1 or expr2 is not of type listlist then false is returned.

Examples

verifya,xx1,a,x2x,'listlist'

false

(1)

verifya,b,xx1,a,b,x2x,'listlistexpand'

true

(2)

verify0.32,0.45,0.92,0.12,0.21,0.42,0.91,0.13,'listlist''less_than'

false

(3)

verify0.21,0.42,0.91,0.12,0.32,0.45,0.92,0.13,'listlist''less_than'

true

(4)

See Also

type/list

verify

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam