numpy.linalg.svd()
numpy.linalg.svd
-
numpy.linalg.svd(a, full_matrices=1, compute_uv=1)
[source] -
Singular Value Decomposition.
Factors the matrix
a
asu * np.diag(s) * v
, whereu
andv
are unitary ands
is a 1-d array ofa
‘s singular values.Parameters: a : (..., M, N) array_like
A real or complex matrix of shape (
M
,N
) .full_matrices : bo