wilson-labs / cola

Compositional Linear Algebra
Apache License 2.0
325 stars 24 forks source link

Inverse rename #43

Closed AndPotap closed 10 months ago

AndPotap commented 10 months ago

We change our API to use inv rather than inverse. That is, instead of calling cola.linalg.inverse now we use cola.linalg.inv. We believe shorter is better and this change is also aligned with other libraries like NumPy or SciPy.

codecov[bot] commented 10 months ago

Codecov Report

Patch coverage: 88.09% and project coverage change: -0.02% :warning:

Comparison is base (cabd9eb) 78.52% compared to head (4394091) 78.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #43 +/- ## ========================================== - Coverage 78.52% 78.50% -0.02% ========================================== Files 36 36 Lines 2966 2964 -2 ========================================== - Hits 2329 2327 -2 Misses 637 637 ``` | [Files Changed](https://app.codecov.io/gh/wilson-labs/cola/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wilson-labs) | Coverage Δ | | |---|---|---| | [cola/linalg/pinv.py](https://app.codecov.io/gh/wilson-labs/cola/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wilson-labs#diff-Y29sYS9saW5hbGcvcGludi5weQ==) | `50.00% <33.33%> (-7.90%)` | :arrow_down: | | [cola/linalg/unary.py](https://app.codecov.io/gh/wilson-labs/cola/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wilson-labs#diff-Y29sYS9saW5hbGcvdW5hcnkucHk=) | `90.51% <75.00%> (ø)` | | | [cola/decompositions.py](https://app.codecov.io/gh/wilson-labs/cola/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wilson-labs#diff-Y29sYS9kZWNvbXBvc2l0aW9ucy5weQ==) | `76.62% <77.77%> (+0.30%)` | :arrow_up: | | [cola/linalg/inv.py](https://app.codecov.io/gh/wilson-labs/cola/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wilson-labs#diff-Y29sYS9saW5hbGcvaW52LnB5) | `89.90% <100.00%> (ø)` | | | [cola/linalg/solve.py](https://app.codecov.io/gh/wilson-labs/cola/pull/43?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wilson-labs#diff-Y29sYS9saW5hbGcvc29sdmUucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.