Skip to content

Drop getindex support, Af' returns FactoredMatrix - #10

Merged
timholy merged 2 commits into
masterfrom
teh/getindex
Apr 28, 2026
Merged

Drop getindex support, Af' returns FactoredMatrix#10
timholy merged 2 commits into
masterfrom
teh/getindex

Conversation

@timholy

@timholy timholy commented Apr 28, 2026

Copy link
Copy Markdown
Member

Formerly getindex was supported for Adjoint{FactoredMatrix} and Transpose{FactoredMatrix}, but not FactoredMatrix itself. Since getindex should not be supported by Factorization objects, just delete these methods. This is a breaking change so the version is bumped to 1.0.0.

Also makes the lowercase adjoint(A) and transpose(A) return FactoredMatrix objects. This was made possible by #9 which generalized the types for U and V. Note the uppercase Adjoint and Transpose type-wrappers still return the expected types.

timholy added 2 commits April 28, 2026 05:50
Formerly `getindex` was supported for `Adjoint{FactoredMatrix}` and
`Transpose{FactoredMatrix}`, but not `FactoredMatrix` itself. Since
`getindex` should not be supported by `Factorization` objects, just
delete these methods.

Also makes the lowercase `adjoint(A)` and `transpose(A)` return
`FactoredMatrix` objects. This was made possible by #9 which generalized
the types for `U` and `V`. Note the uppercase `Adjoint` and `Transpose`
type-wrappers still return the expected types.
@timholy
timholy merged commit 43ff0c4 into master Apr 28, 2026
2 checks passed
@timholy
timholy deleted the teh/getindex branch April 28, 2026 11:01
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