View Single Post
2020-03-22, 05:43   #5
CRGreathouse

Aug 2006

3·52·79 Posts

Quote:
 Originally Posted by Andrew99 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

Code:
retmkvec5(gen_0, gen_0, gen_0, utoipos(4), utoipos(6))
I'll let you translate that into the appropriate python code.