Quaternion Function Reference

isnilpotent

Array elements that are nilpotents

Syntax

TF = isnilpotent(X, tol)

Description

isnilpotent(X, tol) returns logical 1 (true) for array elements that are nilpotents (square to zero). This function works for quaternions and octonions (the reference below covered only the former, but the results hold for octonions).

The second parameter specifies a tolerance. If omitted the default is a small multiple of eps (see code). The tolerance parameter is ignored if X is symbolic.

References

  1. Stephen J. Sangwine and Daniel Alfsmann, 'Determination of the Biquaternion Divisors of Zero, Including the Idempotents and Nilpotents', Advances in Applied Clifford Algebras, 20, (2010), 401–410. DOI: 10.1007/s00006-010-0202-3.

© 2008-2022 Stephen J. Sangwine and Nicolas Le Bihan

License terms.