Draft: Additions enabling QBMAX
This MR includes changes needed for QBMAX.
For details, see pytential!214 (closed)
Some rationales for the changes:
-
The original
coefficients_from_sourceworks when the kernel is a function ofa+b, which is on longer the case when target-dependent scaling is included. -
Besides the altered expansion, the code generation part needs to receive a copy of the scaling expression to scale the results back.
Edited by Xiaoyu Wei