We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
truncate
@testset "truncate" begin sve = SparseIR.CentrosymmSVE(LogisticKernel(5), 1e-6, Float64) svds = SparseIR.compute_svd.(SparseIR.matrices(sve)) u_, s_, v_ = zip(svds...) for lmax in 3:20 u, s, v = SparseIR.truncate(u_, s_, v_; lmax) u, s, v = SparseIR.postprocess(sve, u, s, v) @test length(u) == length(s) == length(v) @test length(s) ≤ lmax - 1 end end
The text was updated successfully, but these errors were encountered:
#46 was not sufficient.
Sorry, something went wrong.
Need to write the truncate function more seriously.
#51 fixed
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: