Replies: 1 comment
-
We should get an example and see how we could benefit from this change. However, I believe that concrete Similarly, concrete operators could be dealing with the scalar multiplication internally rather than defaulting to the |
Beta Was this translation helpful? Give feedback.
-
Oftentimes we multiply a
DataContainer
by a scalar. InScaledFunction
every invocation of almost every method requires a multiplication of aDataContainer
by the scalar in theScaledFunction
.@gfardell suggested we could save some computation by storing the
scalar
in theDataContainer
rather than perform the multiplication, and perform the multiplication only when required.This seems to be of particular interest in case of
ScaledFunction
andScaledOperator
Beta Was this translation helpful? Give feedback.
All reactions