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

Online Help

All Products    Maple    MapleSim


verify/matrix

verify a relation between two matrices

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

verify(expr1, expr2, matrix)

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

Parameters

expr1, expr2

-

anything, assumed to be of type matrix

ver

-

verification for the matrix elements

Description

• 

The verify(expr1, expr2, matrix) and verify(expr1, expr2, 'matrix'(ver)) calling sequences return true if it can be determined that the two matrices 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 matrix is symmetric and a verification 'matrix'(ver) is symmetric if and only if the verification ver is symmetric.

• 

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

• 

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

• 

Important:The command matrix has been superseded by Matrix.

Examples

u1matrix2,2,1,x1x,3,4

u11x1x34

(1)

u2matrix2,2,1,x1x,3,4

u21x1x34

(2)

evalbu1=u2

false

(3)

verifyu1,u2,matrix

true

(4)

u3matrix2,2,1,xx2,3,4

u31x2+x34

(5)

verifyu1,u3,matrix

false

(6)

verifyu1,u3,matrixexpand

true

(7)

v1matrix2,2,0.3222,0.5001,1.0320,0.9111

v10.32220.50011.03200.9111

(8)

v2matrix2,2,0.3223,0.5000,1.03205,0.911105

v20.32230.50001.032050.911105

(9)

verifyv1,v2,matrix

false

(10)

verifyv1,v2,matrixfloat106

true

(11)

See Also

matrix(deprecated)

verify

verify/vector