Skip to content

Add Zernike(0,a) Jacobi matrices #120

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

Merged
merged 7 commits into from
Apr 25, 2022

Conversation

TSGut
Copy link
Member

@TSGut TSGut commented Apr 22, 2022

The sorting scheme we chose for Zernike is a bit of a hassle for the Jacobi matrices and so is the normalization but I got it all working now.

I will see how much more performance I can squeeze out by removing redundant filtering / sorting applications but for most standard applications it should be fine, i.e. it's about as fast as the Y matrix for the JacobiTriangle().

@codecov
Copy link

codecov bot commented Apr 22, 2022

Codecov Report

Merging #120 (b4c7bc5) into master (4810e9c) will increase coverage by 0.08%.
The diff coverage is 96.87%.

@@            Coverage Diff             @@
##           master     #120      +/-   ##
==========================================
+ Coverage   95.88%   95.97%   +0.08%     
==========================================
  Files           4        4              
  Lines         656      720      +64     
==========================================
+ Hits          629      691      +62     
- Misses         27       29       +2     
Impacted Files Coverage Δ
src/disk.jl 97.35% <96.87%> (-0.19%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4810e9c...b4c7bc5. Read the comment docs.

@TSGut
Copy link
Member Author

TSGut commented Apr 22, 2022

@dlfivefifty The only thing missed in coverage now are the non-implemented case of non-zero first basis parameter where I just throw a not implemented yet error. Not sure if anything can be done about that loss of coverage?

@TSGut TSGut changed the title WIP: Add Zernike(0,a) Jacobi matrices Add Zernike(0,a) Jacobi matrices Apr 22, 2022
@TSGut
Copy link
Member Author

TSGut commented Apr 25, 2022

I think this is ready to merge.

@dlfivefifty
Copy link
Member

Cool. Is the formula simpler in terms of m? An alternative would be to make a special block-vector type to capture the ms.

But this is fine for now.

@dlfivefifty dlfivefifty merged commit e065da9 into JuliaApproximation:master Apr 25, 2022
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