def sumai(array):
    """
    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
    """
    n = ctypes.c_int(len(array))
    array = stypes.toIntVector(array)
    return libspice.sumai_c(array, n)
def sumai ( array ) : n = ctypes . c_int ( len ( array ) ) array = stypes . toIntVector ( array ) return libspice . sumai_c ( array , n )
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