is.identity.matrix: Check whether a matrix is (close to) the identity.

View source: R/trackvis_affine.R

is.identity.matrixR Documentation

Check whether a matrix is (close to) the identity.

Description

Check whether a matrix is (close to) the identity.

Usage

is.identity.matrix(mat, tolerance = 1e-06)

Arguments

mat

numeric matrix.

tolerance

numeric, the tolerance for the comparison.

Value

logical.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.