Clarification of required fields for custom operators
@amontoison ci sta già lavorando.
Dal 26/2/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Hello, we have a few packages with custom operators based on LinearOperators.jl and with the recent 2.13 update and the included internal LinearOperator field changes from #406 our operators became incompatible (see here and related issues).
Such custom operators might be outside the scope of the package, but if not, I think it would be helpful to document the property or methods a custom operator needs to implement in order to be compatible with the package and to consider those part of the public interface.
As an example, if we consider this function:
function allocate_vectors_args3!(op::AbstractLinearOperator)
S = storage_type(op)
op.Mv = S(undef, op.nrow)
op.Mtu = (op.nrow == op.ncol) ? op.Mv : S(undef, op.ncol)
return op
end
LinearOperators.jl dispatches on AbstractLinearOperator and if we inherit from that we need to have ncol, Mv and so on. And in particular, previous versions had Mv5.
If custom operators are within the package's intended scope, maybe we could add a small section to either the readme or the docs which describes the necessary fields and methods a custom operator needs to implement
- Lingua principale
- Julia
- Stelle
- 214
- Fork
- 46
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di JuliaSmoothOptimizers/LinearOperators.jl
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
JuliaSmoothOptimizers/LinearOperators.jl#393 · 1 commento ·
-
Transpose allocates 16 bytesAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
JuliaSmoothOptimizers/LinearOperators.jl#384 · 2 commenti ·
-
Regularized Quasi-Newton operatorsForse di nuovo libera @molhab l’ha presa 575 giorni fa e non c’è nessuna pull request aperta. Aperta
JuliaSmoothOptimizers/LinearOperators.jl#366 · 5 commenti · 1 reazione · 2 assegnatari ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
Tutte le issue di JuliaSmoothOptimizers/LinearOperators.jl
Issue simili
-
backport 1.14 GC
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
`binary_focal_loss` throws a `DomainError` when a negative sample has `ŷ = 1`Forse già presa @parth-patel010 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
FluxML/Flux.jl#2818 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
JuliaDiff/TaylorSeries.jl#445 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
control-toolbox/CTActions#139 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
SciML/Optimization.jl#1448 ·
I maintainer di solito rispondono entro 1 giorno