linalg[equal] - determine whether two matrices are equal
|
Calling Sequence
|
|
equal(A, B)
|
|
Description
|
|
•
|
The procedure equal returns true if matrices A and B are of the same shape and corresponding entries are equal, false or an error otherwise.
|
•
|
The command with(linalg,equal) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
equal returns an error if A and B are not of the same type
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?