New package: FixedSparsityMatrices v0.1.0#157186
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
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 registrationPlease 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 registrationIf 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 Tip: You can edit blocking comments to add |
|
[noblock] Quick question: How does this compare to (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
bc95180 to
115973d
Compare
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>
Uh oh!
There was an error while loading. Please reload this page.