@spiceErrorCheck<EOL>def vsubg(v1, v2, ndim):
v1 = stypes.toDoubleVector(v1)<EOL>v2 = stypes.toDoubleVector(v2)<EOL>vout = stypes.emptyDoubleVector(ndim)<EOL>ndim = ctypes.c_int(ndim)<EOL>libspice.vsubg_c(v1, v2, ndim, vout)<EOL>return stypes.cVectorToPython(vout)<EOL>
Compute the difference between two double precision
vectors of arbitrary dimension.

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

:param v1: First vector (minuend). 
:type v1: Array of floats
:param v2: Second vector (subtrahend). 
:type v2: Array of floats
:param ndim: Dimension of v1, v2, and vout. 
:type ndim: int
:return: Difference vector, v1 - v2.
:rtype: Array of floats