def vdot(v1, v2):
    """
    Compute the dot product of two double precision, 3-dimensional vectors.

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

    :param v1: First vector in the dot product. 
    :type v1: 3-Element Array of floats
    :param v2: Second vector in the dot product. 
    :type v2: 3-Element Array of floats
    :return: dot product of v1 and v2.
    :rtype: float
    """
    v1 = stypes.toDoubleVector(v1)
    v2 = stypes.toDoubleVector(v2)
    return libspice.vdot_c(v1, v2)
Compute the dot product of two double precision, 3-dimensional vectors.

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

    :param v1: First vector in the dot product. 
    :type v1: 3-Element Array of floats
    :param v2: Second vector in the dot product. 
    :type v2: 3-Element Array of floats
    :return: dot product of v1 and v2.
    :rtype: float