jmert / AssociatedLegendrePolynomials.jl

A library for calculating the Associated Legendre polynomials
https://jmert.github.io/AssociatedLegendrePolynomials.jl/
MIT License
20 stars 2 forks source link

Support arguments with arbitrary axes #9

Closed jmert closed 4 years ago

jmert commented 4 years ago

The axes of the argument array can be arbitrary since we use broadcasted operations across those dimensions. Use axes-agnostic indexing in the core calculation, and update the bounds checking to verify that the axes of the argument and (leading dimensions of) output array are the same.

codecov[bot] commented 4 years ago

Codecov Report

Merging #9 into master will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   97.61%   97.68%   +0.06%     
==========================================
  Files           9        9              
  Lines         252      259       +7     
==========================================
+ Hits          246      253       +7     
  Misses          6        6              
Impacted Files Coverage Δ
src/calculation.jl 97.70% <100.00%> (+0.12%) :arrow_up:

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 846e1bd...a23ddbe. Read the comment docs.