<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def vminug(vin, ndim):
 """ Negate a double precision vector of arbitrary dimension. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/vminug_c.html :param vin: ndim-dimensional double precision vector to be negated. :type vin: Array of floats :param ndim: Dimension of vin. :type ndim: int :return: ndim-dimensional double precision vector equal to -vin. :rtype: list[ndim] """

    vin = stypes.toDoubleVector(vin)
    vout = stypes.emptyDoubleVector(ndim)
    ndim = ctypes.c_int(ndim)
    libspice.vminug_c(vin, ndim, vout)
    return stypes.cVectorToPython(vout)