istraceless.m

From Spinach Documentation Wiki
Revision as of 21:49, 22 February 2026 by Kuprov (talk | contribs) (Fix lead description from MATLAB header (folding/hyphenation pass))
Jump to: navigation, search

A floating-point precision consistent check for whether a particular matrix is traceless.

Syntax

                        A=istraceless(M)

Arguments

        M - a matrix of any dimension

Outputs

        A - true if the matrix is traceless to ap-
            propriate precision, false otherwise

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also


Version 2.11, authors: Ilya Kuprov