linalg(deprecated)
iszero
determine whether a matrix is zero
Calling Sequence
Parameters
Description
Examples
iszero(A)
A
-
matrix
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The call iszero(A) returns true if all of the entries of matrix A are zero, false or an error otherwise.
The command with(linalg,iszero) allows the use of the abbreviated form of this command.
with⁡linalg:
A≔array⁡2,1,1,2
A≔2112
iszero⁡subs⁡x=A,charpoly⁡A,x
true
A≔matrix⁡3,3,1,0,0,0,0,0,0,0,0
A≔100000000
iszero⁡A
false
See Also
linalg(deprecated)[equal]
LinearAlgebra
Download Help Document