Compute the eigenvalues of a general matrix.
| Parameters: | a : array_like, shape (M, M) 
  | 
|---|---|
| Returns: | w : ndarray, shape (M,) 
  | 
| Raises: | LinAlgError : 
  | 
See also
Notes
This is a simple interface to the LAPACK routines dgeev and zgeev that sets the flags to return only the eigenvalues of general real and complex arrays respectively.
The number w is an eigenvalue of a if there exists a vector v satisfying the equation dot(a,v) = w*v. Alternately, if w is a root of the characteristic equation det(a - w[i]*I) = 0, where det is the determinant and I is the identity matrix.