verify/Matrix
verify a relation between two Matrices
Calling Sequence
Parameters
Description
Examples
Compatibility
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 Matrices satisfy a relation elementwise, either by testing for equality or by 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.
Since 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.
The special verifications %NULL, seq, and &, can be used to verify an expression sequence in a Matrix. See verify/exprseq.
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
The verify/Matrix command was updated in Maple 2015.
See Also
LinearAlgebra[Equal]
Matrix
verify
Download Help Document