First time here? Check out the FAQ!
answered 2024-02-05 13:52:30 +0100
Starting from Sage 10.3, you can use next(a for a in E.automorphisms() if a^2 == -1).
next(a for a in E.automorphisms() if a^2 == -1)