Skip to content

Fix issues from API review - #13

Merged
timholy merged 3 commits into
masterfrom
teh/api
Apr 28, 2026
Merged

Fix issues from API review#13
timholy merged 3 commits into
masterfrom
teh/api

Conversation

@timholy

@timholy timholy commented Apr 28, 2026

Copy link
Copy Markdown
Member

This fixes API issues:

  • support any broadly (it was inconsistent to support just isinf and isnan)
  • delete issymmetric support (it was structural-only)
  • add 5-arg mul! methods

timholy added 3 commits April 28, 2026 06:42
`any` had been implemented for two functions, `isnan` and `isinf`,
because those has an efficient implementation in terms of the factors.
More broadly, though, it's inconsistent to support `any` for some
functions but not others. This adds a fallback that first computes the
dense matrix.

`issymmetric` had been implemented as a simple check of the factors, but
that checks only *structural* symmetry, not *numerical* symmetry. This
deletes the method.
The downside is that it adds a lot of ambiguities against banded and
`AbstractTriangular` methods.
@timholy
timholy merged commit 628af34 into master Apr 28, 2026
2 checks passed
@timholy
timholy deleted the teh/api branch April 28, 2026 12:34
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.

1 participant