Clarification of required fields for custom operators
@amontoison がすでに取り組んでいます。
2026年2月26日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- Julia
- スター
- 214
- フォーク
- 46
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaSmoothOptimizers/LinearOperators.jl のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaSmoothOptimizers/LinearOperators.jl#393 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaSmoothOptimizers/LinearOperators.jl#384 · コメント 2 件 ·
-
Regularized Quasi-Newton operators再び着手できるかも @molhab が 578 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
JuliaSmoothOptimizers/LinearOperators.jl#366 · コメント 5 件 · リアクション 1 件 · 担当者 2 名 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
JuliaSmoothOptimizers/LinearOperators.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
FluxML/Metalhead.jl#407 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
SciML/ModelingToolkit.jl#5371 ·
メンテナーはふだん 2 日以内に返信