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

Row reduce to get I on right #426

Merged
merged 2 commits into from
Nov 7, 2022
Merged

Row reduce to get I on right #426

merged 2 commits into from
Nov 7, 2022

Conversation

mhostetter
Copy link
Owner

In [1]: import galois

In [2]: H = galois.GF2([[1,0,1,0,1,0,1,0], [0,1,1,0,0,1,1,0], [0,0,0,1,1,1,1,0], [1,1,1,1,1,1,1,1]]); H
Out[2]: 
GF([[1, 0, 1, 0, 1, 0, 1, 0],
    [0, 1, 1, 0, 0, 1, 1, 0],
    [0, 0, 0, 1, 1, 1, 1, 0],
    [1, 1, 1, 1, 1, 1, 1, 1]], order=2)

In [3]: H.row_reduce(eye="right")
Out[3]: 
GF([[0, 1, 1, 1, 1, 0, 0, 0],
    [1, 0, 1, 1, 0, 1, 0, 0],
    [1, 1, 0, 1, 0, 0, 1, 0],
    [1, 1, 1, 0, 0, 0, 0, 1]], order=2)

@mhostetter mhostetter added the linear-algebra Relating to linear algebra routines label Nov 7, 2022
@codecov
Copy link

codecov bot commented Nov 7, 2022

Codecov Report

Base: 97.05% // Head: 97.07% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (9297913) compared to base (eb007cf).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #426      +/-   ##
==========================================
+ Coverage   97.05%   97.07%   +0.02%     
==========================================
  Files          42       42              
  Lines        5331     5342      +11     
==========================================
+ Hits         5174     5186      +12     
+ Misses        157      156       -1     
Impacted Files Coverage Δ
src/galois/_domains/_array.py 96.89% <100.00%> (-0.04%) ⬇️
src/galois/_fields/_array.py 98.90% <100.00%> (+0.01%) ⬆️
src/galois/_helper.py 100.00% <100.00%> (ø)
src/galois/_fields/_primitive_element.py 91.78% <0.00%> (+1.36%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mhostetter mhostetter merged commit 0e317c3 into master Nov 7, 2022
@mhostetter mhostetter deleted the row-reduce-right branch November 7, 2022 16:32
@mhostetter mhostetter mentioned this pull request Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear-algebra Relating to linear algebra routines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant