scipy.linalg.sqrtm¶
- scipy.linalg.sqrtm(A, disp=True)[source]¶
Matrix square root.
Parameters : A : (N, N) array_like
Matrix whose square root to evaluate
disp : bool, optional
Print warning if error in the result is estimated large instead of returning estimated error. (Default: True)
Returns : sgrtm : (N, N) ndarray
Value of the sign function at A
errest : float
(if disp == False)
Frobenius norm of the estimated error, ||err||_F / ||A||_F
Notes
Uses algorithm by Nicholas J. Higham
