| NMathFunctionsTrace(DoubleComplexMatrix) 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 DoubleComplex Trace(
DoubleComplexMatrix A
)
Public Shared Function Trace (
A As DoubleComplexMatrix
) As DoubleComplex
public:
static DoubleComplex Trace(
DoubleComplexMatrix^ A
)
static member Trace :
A : DoubleComplexMatrix -> DoubleComplex
Parameters
- A DoubleComplexMatrix
- A square matrix.
Return Value
DoubleComplexThe trace of
A.
Exceptions See Also