First time here? Check out the FAQ!
answered 3 years ago
You can define the following Python function:
def dotnabla(A, B): nabla = E.metric().connection() return nabla(B).contract(A)
which evaluates (→A⋅→∇)→B as the contraction Aj∇jBi.