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

svdvals! has no method for Array{BigFloat,2}, causing norm2(::Array{BigFloat,2}) to error #17728

Closed
ChrisRackauckas opened this issue Jul 31, 2016 · 3 comments
Labels
linear algebra Linear algebra

Comments

@ChrisRackauckas
Copy link
Member

ChrisRackauckas commented Jul 31, 2016

The function svdvals! does not have a method for Array{BigFloat,2}. This is an issue because, as in the attached clip, it's pretty common to use the 2-norm of matrices, which inevitably calls svdvals! and fails.

capture

Simple example:

A = map(BigFloat,rand(4,2))
norm(A,2)
@simonbyrne
Copy link
Contributor

You can use GenericSVD.jl: we should try to move this into Base at some point.

@simonbyrne simonbyrne added the linear algebra Linear algebra label Jul 31, 2016
@simonbyrne
Copy link
Contributor

See also #5429 re: generic linear algebra.

@ChrisRackauckas
Copy link
Member Author

Closing because this works. Instead of moving to Base, this should probably move to LinearAlgebra.jl, which should move to JuliaMath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

No branches or pull requests

2 participants