The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Trace


Unit:SDL_matrix
Class: TMatrix, TIntMatrix
Declaration: function Trace: double; { class TMatrix }
function Trace: longint; { class TIntMatrix }

The method Trace calculates the trace of the (quadratic) matrix. Note that the trace is defined for quadratic matrices only; in the case of a non-quadratic matrix the method Trace returns a zero value.



Last Update: 2015-Mai-12