Ejemplo n.º 1
0
 /// <summary>
 /// Inverts the specified matrix.
 /// </summary>
 /// <param name="matrix">The matrix.</param>
 /// <returns>The inverse matrix.</returns>
 /// <exception cref="System.ArgumentNullException">The matrix is null.</exception>
 /// <exception cref="System.ArgumentException">The matrix is not invertible.</exception>
 public static Matrix Invert(this Matrix matrix)
 {
     return(LUDecomposition.Invert(matrix));
 }