Difference between revisions of "Istraceless.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
                         A=istraceless(M)
 
                         A=istraceless(M)
  
==Arguments==
+
==Parameters==
  
 
         M - a matrix of any dimension
 
         M - a matrix of any dimension

Revision as of 18:49, 5 June 2026

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

Syntax

                        A=istraceless(M)

Parameters

        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