Skip to content

Scaling for partly initialized unit triangular #1351

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented May 12, 2025

After this, scaling unit triangular matrices with parents that don't have the diagonal initialized works.

julia> M = Matrix{BigFloat}(undef,2,2);
  
julia> M[1,2] = 3;

julia> U = UnitUpperTriangular(M)
2×2 UnitUpperTriangular{BigFloat, Matrix{BigFloat}}:
 1.0  3.0
     1.0

julia> U * 2
2×2 UpperTriangular{BigFloat, Matrix{BigFloat}}:
 2.0  6.0
     2.0

Probably needs #1350 for tests to pass.

@jishnub jishnub force-pushed the jishnub/unit_tri_scale branch from 838daac to a290d4d Compare May 12, 2025 10:41
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