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