Skip to content
Discussion options

You must be logged in to vote

b is returned as a one-dimensional array of singular values, following the standard convention used by NumPy and other numerical computing packages.

I suspect the reason for this is primarily memory savings: if you're doing a large SVD, it's wasteful to return a large matrix that is by definition mostly zeros, when (1) many applications need just the singular values, and (2) it's straightforward to construct the full matrix if needed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EngineerKhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants