“…The dot product of vector variables, discussed in Section 4.2 is defined by the expression ('i,i', v, u), which is transpiled to einsum('cq,qd,ir,qe,is->crdse', v.det, v.bf, v.I, u.bf, u.I) in the matrix mode, with data sizes for 1024 tri-linear hexahedral elements {'c': 1024, 'q': 8, 'd': 8, 'i': 3, 'r': 3, 'e': 8, 's': 3} crdse (1024, 3, 8, 3, 8 4), (0, 1), (0, 2), (0, 1)] and to einsum('cq,qd,ir,qe,cie->crd', v.det, v.bf, v.I, u.bf, u.dofs) in the vector mode, with data sizes {'c': 1024, 'q': 8, 'd': 8, 'i': 3, 'r': (3,4), (0, 3), (0, 2), (0, 1)] Note that the same expressions work also with scalar variables, but the transpilation result is different.…”