verify/matrix
verify a relation between two matrices
Calling Sequence
Parameters
Description
Examples
verify(expr1, expr2, matrix)
verify(expr1, expr2, 'matrix'(ver))
expr1, expr2
-
anything, assumed to be of type matrix
ver
verification for the matrix elements
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.
u1≔matrix⁡2,2,1,x⁢1−x,3,4
u1≔1x⁢1−x34
u2≔matrix⁡2,2,1,x⁢1−x,3,4
u2≔1x⁢1−x34
evalb⁡u1=u2
false
verify⁡u1,u2,matrix
true
u3≔matrix⁡2,2,1,x−x2,3,4
u3≔1−x2+x34
verify⁡u1,u3,matrix
verify⁡u1,u3,matrix⁡expand
v1≔matrix⁡2,2,0.3222,0.5001,1.0320,0.9111
v1≔0.32220.50011.03200.9111
v2≔matrix⁡2,2,0.3223,0.5000,1.03205,0.911105
v2≔0.32230.50001.032050.911105
verify⁡v1,v2,matrix
verify⁡v1,v2,matrix⁡float⁡106
See Also
matrix(deprecated)
verify
verify/vector
Download Help Document