scipy.linalg.sqrtm

scipy.linalg.sqrtm(A, disp=True)[source]

Matrix square root.

Parameters :

A : array, shape(M,M)

Matrix whose square root to evaluate

disp : boolean

Print warning if error in the result is estimated large instead of returning estimated error. (Default: True)

Returns :

sgnA : array, shape(M,M)

Value of the sign function at A

(if disp == False) :

errest : float

Frobenius norm of the estimated error, ||err||_F / ||A||_F

Notes

Uses algorithm by Nicholas J. Higham

Previous topic

scipy.linalg.signm

Next topic

scipy.linalg.funm