| 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$.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.