Config option part II #504
Replies: 3 comments 3 replies
-
@JonathanWenger , @pnkraemer , @nathanaelbosch , I would be grateful for your opinions! :) |
Beta Was this translation helpful? Give feedback.
-
Thanks @schmidtjonathan , just a friendly reminder to put the code snippet with the bug/ original motivation somewhere such that we create a habit to document and work backwards from concrete features requests that allow us to backtrack in the future. |
Beta Was this translation helpful? Give feedback.
-
Decision: |
Beta Was this translation helpful? Give feedback.
-
Following our discussion in the last software meeting (see #509), the question arises how to call a config option that controls whether or not products of
linops.Matrix
operators are contracted or not. More concretely:Same applies to the case in which
A_op
XORB_op
is alinops.InverseLinearOperator
.One proposal would be to inherit the name
lazy_linalg
due to the fact that this option does literally control lazy vs. non-lazy evaluation (Case 1 vs Case 2 from above). I.e. lazy here means that computations are not evaluated immediately but only at the point where the result is queried.The existing
lazy_linalg
would be substituted by a different option which controls whetherlinops
are created with dense numpy arrays or as sparse linops, e.g.linops.Scaling(some_vector)
vs.linops.Matrix(np.diag(some_vector))
.We could e.g. call this option
dense_markov_transition_matrices
.Beta Was this translation helpful? Give feedback.
All reactions