View Single Post
Old 2020-03-22, 05:43   #5
CRGreathouse's Avatar
Aug 2006

135118 Posts

Originally Posted by Andrew99 View Post
How do I pass a tuple/array/vector? Thanks.
This is not a simple question to answer for PARI in general (you get into issues of the stack and universal objects). But for what you are doing, the correct PARI code, I believe, is

retmkvec5(gen_0, gen_0, gen_0, utoipos(4), utoipos(6))
I'll let you translate that into the appropriate python code.
CRGreathouse is offline   Reply With Quote