JuliaImageRecon / RegularizedLeastSquares.jl

MIT License
20 stars 10 forks source link

Copy for solver #60

Open nHackel opened 12 months ago

nHackel commented 12 months ago

It would be helpful for solvers to provide an implementation of copy. This could allow reconstruction packages some multi-threading options.

System matrixes should generally not be deepcopied, unless the SM contains stateful information. This can be the case for certain reconstructions from MRIReco I think. Such a case could be handled with a LinearOperatorWrapper-like wrapper

tknopp commented 12 months ago

And the LinearOperatorWrapper-like wrapper should have immutable semantics (It won't be immutable technically but we should think of it like that)