-
Notifications
You must be signed in to change notification settings - Fork 3
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
TSVD()
as compression algorithm produces method error
#73
Comments
TSVD()
as compression algorithm produces method error
Hi @RmMetsch, Thanks for pointing out the issue, and sorry for the long delay in responding: I was on vacation and then got super busy with work when I returned two weeks ago. I "fixed" the issue, and your example should work now. Let me know if that is not the case. Keep in mind that |
Hey @maltezfaria, no worries we are all busy nowadays :) I ran ] update HMatrices and the code above and it still produces the same error :/ I'm using it to compress a mutual inductance matrix of a electrical cable. The geometry is rather fixed so I only have to compute it once. A colleague of mine insisted I use this method for better accuracy of the compression. Cheers, |
You need to be on the |
New tagged version is up. Running Regarding your application: why not use the adaptive cross approximation (ACA) compression method in |
Thanks for updating, I did some testing and while ACA compression is indeed much faster the TSVD compression has superior accuracy. As I said, I only have to compute it once so its worth the wait. |
Fair enough, but keep in mind you can pass a tolerance parameter to all of these methods, so you can probably get good results from |
One last thing in defense of |
Hello,
I'm trying to use HMatrices to compress a Matrix using TSVD. I followed the tutorial from the docs page and swapped out the compression algorithm
PartialACA()
forTSVD()
but get the following error :MethodError: no method matching (::TSVD)(::HMatrices.PermutedMatrix{…}, ::ClusterTree{…}, ::ClusterTree{…}, ::HMatrices.ACABuffer{…})
not sure what to do, any help is appreciated.
The text was updated successfully, but these errors were encountered: