Trace() public static method

Computes the trace of a matrix.
public static Trace ( Matrix m ) : double
m Matrix Input Matrix.
return double
コード例 #1
0
 /// <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));
 }