vector - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


verify/vector

verify a relation between the elements of two vectors

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

verify(expr1, expr2, vector)

verify(expr1, expr2, 'vector'(ver))

Parameters

expr1, expr2

-

anything, assumed to be of type vector

ver

-

verification for the vector elements

Description

• 

The verify(expr1, expr2, vector) and verify(expr1, expr2, 'vector'(ver)) calling sequences return true if it can be determined that the two vectors satisfy a relation elementwise, either by testing with equality or using the verification ver.

• 

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

• 

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

• 

Because vector is a Maple function, it must be enclosed in single quotes to prevent evaluation.

• 

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

• 

Important: The command vector has been superseded by Vector.

Examples

u1vector2,1,x1x

u11x1x

(1)

u2vector2,1,xx2

u21x2+x

(2)

verifyu1,u2,vector

false

(3)

verifyu1,u2,vectorexpand

true

(4)

v1vector2,0.3222,0.5001

v10.32220.5001

(5)

v2vector2,0.3223,0.5000

v20.32230.5000

(6)

verifyv1,v2,vector

false

(7)

verifyv1,v2,vectorfloat106

true

(8)

See Also

vector(deprecated)

verify