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

Pass mutable copies to inplace LinearAlgebra functions #52504

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

jishnub
Copy link
Contributor

@jishnub jishnub commented Dec 12, 2023

This gets some functions working with immutable matrix types, e.g.:

julia> using FillArrays, LinearAlgebra

julia> F = Fill(big(2), 4, 4)
4×4 Fill{BigInt}, with entries equal to 2

julia> det(F)
0

julia> triu(F)
4×4 Matrix{BigInt}:
 2  2  2  2
 0  2  2  2
 0  0  2  2
 0  0  0  2

@jishnub jishnub added the linear algebra Linear algebra label Dec 12, 2023
@jishnub jishnub marked this pull request as draft December 13, 2023 05:45
@jishnub jishnub marked this pull request as ready for review December 13, 2023 11:49
@jishnub jishnub merged commit 0ae2094 into master Dec 14, 2023
7 checks passed
@jishnub jishnub deleted the jishnub/immutablegenericlinalg branch December 14, 2023 05:01
@jishnub jishnub added backport 1.10 Change should be backported to the 1.10 release and removed backport 1.10 Change should be backported to the 1.10 release labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants