def vperp(a, b):
    """
    Find the component of a vector that is perpendicular to a second
    vector. All vectors are 3-dimensional.

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

    :param a: The vector whose orthogonal component is sought. 
    :type a: 3-Element Array of floats
    :param b: The vector used as the orthogonal reference. 
    :type b: 3-Element Array of floats
    :return: The component of a orthogonal to b.
    :rtype: 3-Element Array of floats
    """
    a = stypes.toDoubleVector(a)
    b = stypes.toDoubleVector(b)
    vout = stypes.emptyDoubleVector(3)
    libspice.vperp_c(a, b, vout)
    return stypes.cVectorToPython(vout)
Find the component of a vector that is perpendicular to a second
    vector. All vectors are 3-dimensional.

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

    :param a: The vector whose orthogonal component is sought. 
    :type a: 3-Element Array of floats
    :param b: The vector used as the orthogonal reference. 
    :type b: 3-Element Array of floats
    :return: The component of a orthogonal to b.
    :rtype: 3-Element Array of floats