1 | initial version |
You can define the following Python function:
def dotnabla(A, B):
nabla = E.metric().connection()
return nabla(B).contract(A)
which evaluates $(\vec{A}\cdot\vec{\nabla})\vec{B}$ as the contraction $A^j\nabla_j B^i$.