@spiceErrorCheck<EOL>def sumai(array):
n = ctypes.c_int(len(array))<EOL>array = stypes.toIntVector(array)<EOL>return libspice.sumai_c(array, n)<EOL>
Return the sum of the elements of an integer array.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/sumai_c.html

:param array: Input Array.
:type array: Array of ints
:return: The sum of the array.
:rtype: int