svd()
Singular Value Decomposition.
Factors the matrix a as u * np.diag(s) * v, where u and v are unitary and s is a 1D array of a’s singular values.
u * np.diag(s) * v
a (array_like) – Input array.
i (int or slice (optional)) – What singular value “slice” to return. Default is None which returns unitary 2D arrays.
Decomposed arrays in order u, v, s
tuple