This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Compute the largest k singular values/vectors for a sparse matrix.
Parameters : | A : sparse matrix
k : int, optional
ncv : integer, optional
tol : float, optional
which : str, [‘LM’ | ‘SM’], optional
v0 : ndarray, optional
maxiter: integer, optional :
return_singular_vectors : bool, optional
Returns : ——- : u : ndarray, shape=(M, k)
s : ndarray, shape=(k,)
vt : ndarray, shape=(k, N)
|
---|
Notes
This is a naive implementation using ARPACK as an eigensolver on A.H * A or A * A.H, depending on which one is more efficient.