'The inner product operator for a Vector or Dyadic, and a Dyadic
This is for: Vector dot Dyadic
Parameters
other : Vector
The vector we are dotting with
Examples
>>> from sympy.physics.vector import ReferenceFrame, dot, outer
>>> N = ReferenceFrame(\'N\')
>>> d = outer(N.x, N.x)
>>> dot(N.x, d)
N.x'

def __rand__(self, other):

    from sympy.physics.vector.vector import Vector, _check_vector
    other = _check_vector(other)
    ol = Vector(0)
    for (i, v) in enumerate(self.args):
        ol += ((v[0] * v[2]) * (v[1] & other))
    return ol
