Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document order of svdvals #22148

Merged
merged 1 commit into from
May 31, 2017
Merged

document order of svdvals #22148

merged 1 commit into from
May 31, 2017

Conversation

@@ -15,10 +15,6 @@ SVD(U::AbstractArray{T}, S::Vector{Tr}, Vt::AbstractArray{T}) where {T,Tr} = SVD

`svdfact!` is the same as [`svdfact`](@ref), but saves space by
overwriting the input `A`, instead of creating a copy.

If `thin=true` (default), a thin SVD is returned. For a ``M \\times N`` matrix
Copy link
Member Author

@fredrikekre fredrikekre May 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this, this is consistent with all the other ! functions here, they simply refer to the non ! function.

@kshyatt kshyatt added docs This change adds or pertains to documentation linear algebra Linear algebra labels May 30, 2017
Copy link
Contributor

@kshyatt kshyatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modulo typo lgtm

@@ -74,7 +71,7 @@ svdfact(x::Integer; thin::Bool=true) = svdfact(float(x), thin=thin)
svd(A, thin::Bool=true) -> U, S, V

Computes the SVD of `A`, returning `U`, vector `S`, and `V` such that
`A == U*diagm(S)*V'`.
`A == U*diagm(S)*V'`. The singular values in `S` is sorted in descending order.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"are sorted"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Copy link
Member

@Sacha0 Sacha0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fredrikekre ! :)

@KristofferC KristofferC merged commit b5ac087 into JuliaLang:master May 31, 2017
@fredrikekre fredrikekre deleted the fe/svd branch May 31, 2017 14:54
tkelman pushed a commit that referenced this pull request Jun 3, 2017
(cherry picked from commit b5ac087)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation linear algebra Linear algebra
Projects
None yet
5 participants