Round() public static method

Matrix Roundoff.
public static Round ( Matrix m, int decimals ) : Matrix
m Matrix Input Matrix.
decimals int (Optional) Max number of decimals (default 0 - integral members)
return Matrix
示例#1
0
 /// <summary>A Matrix extension method that rounds.</summary>
 /// <param name="m">Matrix.</param>
 /// <param name="decimals">(Optional) the decimals.</param>
 /// <returns>A Matrix.</returns>
 public static Matrix Round(this Matrix m, int decimals = 0)
 {
     return(Matrix.Round(m, decimals));
 }