code: def sumad(array):
      
      n = ctypes.c_int(len(array))
      array = stypes.toDoubleVector(array)
      return libspice.sumad_c(array, n)
docs: 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