Difference between revisions of "Istraceless.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Fix lead description from MATLAB header (folding/hyphenation pass))
(Normalise sequential blank lines)
Line 28: Line 28:
 
* [[Kernel_utilities]]
 
* [[Kernel_utilities]]
 
* [[Main_Page]]
 
* [[Main_Page]]
−
 
−
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 11:27, 25 April 2026

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