Skip to content

Feat: added sparse option to convmtx utility routines#768

Merged
mrava87 merged 5 commits into
PyLops:devfrom
mrava87:feat-cmtx_sparse
Jul 2, 2026
Merged

Feat: added sparse option to convmtx utility routines#768
mrava87 merged 5 commits into
PyLops:devfrom
mrava87:feat-cmtx_sparse

Conversation

@mrava87

@mrava87 mrava87 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a sparse option to convmtx and nonstationary_convmtx, which transforms the Toeplitz matrix into a sparse matrix leveraging the fact that convolution matrices are banded with usually few non-zero diagonals.

This ultimately leads to improvements in performance when this matrix is applied to a vector.

@mrava87 mrava87 self-assigned this Jul 2, 2026
@mrava87 mrava87 added the enhancement New feature or request label Jul 2, 2026
@codacy-production

codacy-production Bot commented Jul 2, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 12 complexity · 0 duplication

Metric Results
Complexity 12
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@mrava87 mrava87 merged commit 278fbf7 into PyLops:dev Jul 2, 2026
23 checks passed
@mrava87 mrava87 deleted the feat-cmtx_sparse branch July 2, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant