remtrace.m

From Spinach Documentation Wiki
Revision as of 18:51, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

Subtracts an appropriate multiple of the unit matrix to make the input matrix traceless.

Syntax

    A=remtrace(A)

Parameters

    A - a square matrix

Outputs

    A - a square matrix with a zero trace

See also

Numerical infrastructure

Version 2.7, authors: Ilya Kuprov