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

Take adjoint of Q rather than transpose #142

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Take adjoint of Q rather than transpose #142

merged 1 commit into from
Jul 29, 2022

Conversation

dkarrasch
Copy link
Contributor

This came up in a nanosoldier run in JuliaLang/julia#46196. Transposes of Q's don't have specialized functions and fall back to AbstractMatrix methods, in particular in multiplication. Generic multiplication, however, is defined in terms of elementwise getindex, which is expensive and very slow in contrast to dense or structured matrices.

This came up in a nanosoldier run in JuliaLang/julia#46196. Transposes of Q's don't have specialized functions and fall back to `AbstractMatrix` methods, in particular in multiplication. Generic multiplication, however, is defined in terms of elementwise `getindex`, which is expensive and very slow in contrast to dense or structured matrices.
@codecov
Copy link

codecov bot commented Jul 29, 2022

Codecov Report

Merging #142 (129e4df) into master (cff5da0) will increase coverage by 0.27%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
+ Coverage   98.70%   98.97%   +0.27%     
==========================================
  Files          51       51              
  Lines        3322     3322              
==========================================
+ Hits         3279     3288       +9     
+ Misses         43       34       -9     
Impacted Files Coverage Δ
src/helpers/random.jl 100.00% <100.00%> (ø)
src/plans/stepsize.jl 96.51% <0.00%> (+5.23%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Member

@kellertuer kellertuer left a comment

Choose a reason for hiding this comment

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

Cool, thanks for spotting this!

@kellertuer kellertuer merged commit ec964ef into JuliaManifolds:master Jul 29, 2022
@dkarrasch dkarrasch deleted the patch-1 branch July 29, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants