/// <summary>Computes the trace of a matrix.</summary> /// <param name="m">Matrix.</param> /// <returns>trace.</returns> public static double Trace(this Matrix m) { return(Matrix.Trace(m)); }