I hope you are well. I have the following problem and I'm having difficulties to make this implementation in sage. Problem: Consider $f \in \mathbb{R}[x,y]$ and $M \in M_{2}(\mathbb{R})$. How can I implement the $M \cdot f (x,y)=f(M^{-1}(x,y))$ group action in sage?
I took a look at the link: https://doc.sagemath.org/html/en/reference/coercion/sage/categories/action.html But I couldn't understand much.
I thank you for your attention.
Here is an implementation of the actual function taking a matrix
Mand a polynomialfand returning the polynomial $M \cdot f$:Here is an example application:
I am less sure how one would integrate this in the official action-framework of Sage.