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

Various improvements #28

Merged
merged 4 commits into from
Jan 5, 2024
Merged

Various improvements #28

merged 4 commits into from
Jan 5, 2024

Conversation

tpgillam
Copy link
Collaborator

@tpgillam tpgillam commented Jan 5, 2024

Closes #21 , #24, #17

The main user-facing change is that we now support calling zero on any multivector type (and one for even multivectors), and not just on existing values. As a consequence the zeros and ones functions for intialising arrays will 'just work', as noted in #24 .

We also implement LinearAlgebra.norm for all types (although not allowing anything other than p=2 for now). This is defined in a such a way that the norm will always be real, by taking the square root of the absolute value of the dot product.

@tpgillam tpgillam linked an issue Jan 5, 2024 that may be closed by this pull request
test/testfuncs.jl Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jan 5, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (e3540f0) 61.10% compared to head (44bee1d) 62.87%.

Files Patch % Lines
src/core44.jl 80.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   61.10%   62.87%   +1.77%     
==========================================
  Files          28       28              
  Lines        1689     1767      +78     
==========================================
+ Hits         1032     1111      +79     
+ Misses        657      656       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tpgillam tpgillam linked an issue Jan 5, 2024 that may be closed by this pull request
@tpgillam tpgillam merged commit 428b05a into main Jan 5, 2024
5 checks passed
@tpgillam tpgillam deleted the tg/stuff branch January 5, 2024 17:12
@tpgillam
Copy link
Collaborator Author

tpgillam commented Jan 5, 2024

@JuliaRegistrator register

@JuliaRegistrator
Copy link

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants