Back to Linear Algebra (Eigen)
eigen.utilities.isIdentity
Check if a matrix is the identity matrix.
Syntax
eigen.utilities.isIdentity(A, tolerance?)
Description
Check if a matrix is the identity matrix.
Parameters
| Name | Description |
|---|---|
| A | - Matrix handle |
| tolerance(optional) | - Maximum allowed deviation |
Returns
boolean