def sumad(array):
    """
    Return the sum of the elements of a double precision array.

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

    :param array: Input Array.
    :type array: Array of floats
    :return: The sum of the array.
    :rtype: float
    """
    n = ctypes.c_int(len(array))
    array = stypes.toDoubleVector(array)
    return libspice.sumad_c(array, n)
Return the sum of the elements of a double precision array.

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

    :param array: Input Array.
    :type array: Array of floats
    :return: The sum of the array.
    :rtype: float