Commit 2026-02-10 22:14 06659560
View on Github →refactor: add type synonym for convolutive product of linear maps and intrinsic star (#34945)
... to avoid instance conflicts.
Currently, the instances in the scopes IntrinsicStar and ConvolutionProduct (LinearMap.intrinsicStar and LinearMap.convMul) conflict with global instances. This fixes that. This also allows us to have these instances globally rather than scoped with a possible conflict.
We follow the same implementation as with WithLp. We provide the type synonym as a structure to ensure that there will be no defeq abuse.
The WithConv type synonym is defined for any type A so that we can have WithConv (LinearMap R E F), WithConv (ContinuousLinearMap R E F) and WithConv (Matrix m n R).