| NMathFunctionsTrace(FloatComplexMatrix) Method |
Returns the trace of a square matrix. The trace of a square matrix is
defined to be the sum of the terms on its main diagonal:
Trace(A) = a11 + a22 +...+ ann
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplex Trace(
FloatComplexMatrix A
)
Public Shared Function Trace (
A As FloatComplexMatrix
) As FloatComplex
public:
static FloatComplex Trace(
FloatComplexMatrix^ A
)
static member Trace :
A : FloatComplexMatrix -> FloatComplex
Parameters
- A FloatComplexMatrix
- A square matrix.
Return Value
FloatComplexThe trace of
A.
Exceptions See Also