code: def vsclg(s, v1, ndim):
      
      s = ctypes.c_double(s)
      v1 = stypes.toDoubleVector(v1)
      vout = stypes.emptyDoubleVector(ndim)
      ndim = ctypes.c_int(ndim)
      libspice.vsclg_c(s, v1, ndim, vout)
      return stypes.cVectorToPython(vout)
docs: Multiply a scalar and a double precision vector of arbitrary dimension.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/vsclg_c.html
  
      :param s: Scalar to multiply a vector 
      :type s: float
      :param v1: Vector to be multiplied 
      :type v1: Array of floats
      :param ndim: Dimension of v1 
      :type ndim: int
      :return: Product vector, s*v1.
      :rtype: Array of floats