Skip to content

Commit

Permalink
column reordering plus greedy givens selection;
Browse files Browse the repository at this point in the history
seems to give good sparse QR
  • Loading branch information
enzbus committed Sep 19, 2024
1 parent a475122 commit fb46767
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions experiments/sparse_qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ def make_weighter(sparsity):

m, n = mat.shape

for i in range(0):
for i in range(1):

# permute rows
sparsity = row_permute(sparsity, w, weighter_mult = 0.)
print(f'HOW MANY BELOW {int(count_below(sparsity))}')
# sparsity = row_permute(sparsity, w, weighter_mult = 0.)
# print(f'HOW MANY BELOW {int(count_below(sparsity))}')
# plt.imshow(sparsity)
# plt.show()

Expand Down

0 comments on commit fb46767

Please sign in to comment.