Skip to content

New package: FixedSparsityMatrices v0.1.0#157186

Open
JuliaRegistrator wants to merge 1 commit into
masterfrom
registrator-fixedsparsitymatrices-b5d13e52-v0.1.0-6d1a2bb297
Open

New package: FixedSparsityMatrices v0.1.0#157186
JuliaRegistrator wants to merge 1 commit into
masterfrom
registrator-fixedsparsitymatrices-b5d13e52-v0.1.0-6d1a2bb297

Conversation

@JuliaRegistrator
Copy link
Copy Markdown
Contributor

@JuliaRegistrator JuliaRegistrator commented Jun 5, 2026

JuliaRegistrator referenced this pull request in yoninazarathy/FixedSparsityMatrices.jl Jun 5, 2026
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Hello, I am an automated registration bot. I help manage the registration process by checking your registration against a set of AutoMerge guidelines. If all these guidelines are met, this pull request will be merged automatically, completing your registration. It is strongly recommended to follow the guidelines, since otherwise the pull request needs to be manually reviewed and merged by a human.

1. New package registration

Please make sure that you have read the package naming guidelines.

2. AutoMerge Guidelines are all met! ✅

Your new package registration met all of the guidelines for auto-merging and is scheduled to be merged when the mandatory waiting period (3 days) has elapsed.

3. To pause or stop registration

If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.

Tip: You can edit blocking comments to add [noblock] in order to unblock auto-merging.

@briochemc
Copy link
Copy Markdown
Contributor

[noblock] Quick question: How does this compare to SparseArrays.fixed? That is undocumented but it was merged in SparseArrays.jl a little while back:

(I asked for it to be documented but no response so far.)

UUID: b5d13e52-a467-431a-a85a-928014457621
Repo: https://github.com/yoninazarathy/FixedSparsityMatrices.jl.git
Tree: ce851bc228a06eeba542c238ce5da0a911b18f6d

Registrator tree SHA: 50f504d641745716a5b3eabaf681d3a4937d2ae3
@JuliaRegistrator JuliaRegistrator force-pushed the registrator-fixedsparsitymatrices-b5d13e52-v0.1.0-6d1a2bb297 branch from bc95180 to 115973d Compare June 5, 2026 03:00
JuliaRegistrator referenced this pull request in yoninazarathy/FixedSparsityMatrices.jl Jun 5, 2026
Introduce a shared AbstractFixedSparsityArray{T,N} supertype and reparent
AbstractFixedSparsityMatrix under it (still transitively <: AbstractMatrix,
fully backward-compatible). Add AbstractFixedSparsityVector and the concrete
FixedSparsityVector, mirroring the matrix: same parameterization, BitVector
default pattern, zero-enforcing setindex!, pattern-sharing _wrapvec builder,
template/infer/element-conversion constructors, and the preserve-or-degrade
rule (scaling/sign/±-between-FSVs preserve the pattern; dot/matvec/adjoint/
broadcast degrade to dense).

Add a vector test driver and a full vector test set (plus a detect_ambiguities
guard); 579 tests pass, 0 ambiguities. Document the vector type in the README.

Motivation: the PH initial-probability vector α needs the same structural-zero
preservation as the sub-generator T (e.g. Coxian α = [1,0,…]).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants