AnySquareMatrixTrace Method |
Computes the trace of the square matrix.
Namespace:
Meta.Numerics.Matrices
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public virtual double Trace()
Public Overridable Function Trace As Double
public:
virtual double Trace()
abstract Trace : unit -> float
override Trace : unit -> float
Return Value
Type:
Doubletr(M)
Remarks The trace of a square matrix is the sum of its diagonal elements.
See Also