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

Function to compute an estimate of the 1-norm and 2-norm of a matrix #12267

Closed
mfasi opened this issue Jul 22, 2015 · 8 comments
Closed

Function to compute an estimate of the 1-norm and 2-norm of a matrix #12267

mfasi opened this issue Jul 22, 2015 · 8 comments
Labels
linear algebra Linear algebra

Comments

@mfasi
Copy link
Contributor

mfasi commented Jul 22, 2015

As far as I could see, there are no functions in Julia to estimate the 1-norm and 2-norm of matrices, which is incredibly useful when working with large and sparse matrices. Provided that the functionality is actually missing, is there some reason why it hasn't been implemented yet? If that's not the case, I'd be happy to work on the issue.

@mfasi mfasi changed the title Norm estimation missing Norm estimation missing (?) Jul 22, 2015
@IainNZ
Copy link
Member

IainNZ commented Jul 22, 2015

Forgive my ignorance, but what is norm estimation for a matrix?

@pao pao added the linear algebra Linear algebra label Jul 22, 2015
@pao
Copy link
Member

pao commented Jul 22, 2015

I'm not sure either, but this tag seems safe.

@IainNZ
Copy link
Member

IainNZ commented Jul 22, 2015

@IainNZ
Copy link
Member

IainNZ commented Jul 22, 2015

@mfasi I don't think we have this in Base, but if you'd be interested in implementing it then I'd suggest making a package first, and the discussion about moving it into Base or not can come at a later date.

@ViralBShah
Copy link
Member

Yes, this seems like something to start out in a package.

@jiahao
Copy link
Member

jiahao commented Jul 22, 2015

I've already implemented two different randomized norm estimators in IterativeSolvers.jl. You're more than welcome to contribute other estimates.

See also #4767

@mfasi mfasi changed the title Norm estimation missing (?) Function to compute an estimate of the 1-norm and 2-norm of a matrix Jul 22, 2015
@mfasi
Copy link
Contributor Author

mfasi commented Jul 22, 2015

I'm sorry, it looks like it was impossible to understand what I wanted to do. I reworded the title and the first post and will provide a few more details here. I wanted to implement something much like the functions normest and normest1 of Matlab. I guess that these functions are mainly used by people dealing with sparse matrices, but they arise when working with dense matrices as well. I think that having these two functions would contribute to fix #6485 and also to implement some of the algorithms in #5840.

Sorry for the misunderstanding, I hope I made myself clear this time. 😊

@jiahao
Copy link
Member

jiahao commented Jul 22, 2015

Yes, we don't have those particular norm estimators implemented and they would be nice to have. As iterative algorithms, they could belong in IterativeSolvers.jl.

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

5 participants