Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
from cysignals.signals cimport sig_on from cypari2.paridecl cimport * from cypari2.stack cimport new_gen
cdef Gen new_t_POL_from_int_star(int* vals, unsigned long length, long varnum): """ Convert an array of ints to a PARI polynomial.
Note that ``length = degree + 1``, so that recognizing 0 is easier. """ cdef GEN z cdef unsigned long i
# Polynomial is zero z[1] = evalvarn(varnum) + evalsigne(0) else:
|