Complex automorphism groups of real algebraic curves of genus 2 A general approach to the integration of invertible dynamical systems defined by transformations from the Cremona group \(\text{Cr}(\mathbb{P}_k^n)\) of birational transformations 