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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Oftentimes we multiply a
DataContainerby a scalar. InScaledFunctionevery invocation of almost every method requires a multiplication of aDataContainerby the scalar in theScaledFunction.@gfardell suggested we could save some computation by storing the
scalarin theDataContainerrather than perform the multiplication, and perform the multiplication only when required.This seems to be of particular interest in case of
ScaledFunctionandScaledOperatorAll reactions