You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scalar product hint of a base should not only provide the callback itself but also some information describing it.
This would spare the extra work of testing the properties each time we want to use it (normalize base is a good example)
For example:
Function space to use
If complex args are allowed, which arg is conjugated
Maybe these information could also be stored in a scalar product class, the base class constructor would then receive the callback and some meta information which can be checked once when it is initiated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Implementation of scalar products
The scalar product hint of a base should not only provide the callback itself but also some information describing it.
This would spare the extra work of testing the properties each time we want to use it (normalize base is a good example)
For example:
Maybe these information could also be stored in a scalar product class, the base class constructor would then receive the callback and some meta information which can be checked once when it is initiated.
Beta Was this translation helpful? Give feedback.
All reactions