I have already searched for some tutorial on how to use the PARI library in a C program, but unfortunatelly I found nothing but generic tutorials of using the GP package in command line interface.
Could anyone help? For instance, I would like to initialize a 3x3 matrix and find it's 1000-th power. In gp (the CLI), this could be achieved just by typing something like:
? A=[1,2,3;4,5,6;7,8,9]
? A^1000
but I found no help about doing this quiet simple thing in a C source file. Is there a comprehensive tutorial, or a documentation that provides such examples? Any comment will be extremely appreciated!