verify[Matrix] - verify a relation between two Matrices
|
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 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.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
|
|
Download Help Document
Was this information helpful?