TRACE
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
The TRACE function computes the trace of an n by n array.
This routine is written in the IDL language. Its source code can be found in the file trace.pro in the lib subdirectory of the IDL distribution.
Syntax
Result = TRACE( A [, /DOUBLE] )
Return Value
Returns the sum of the values along the array diagonal.
Arguments
A
An n by n real or complex array.
Keywords
DOUBLE
Set this keyword to force the computation to be done in double-precision arithmetic.
Examples
IDL prints:
Version History