DotExpand
DotExpand[exp]
expands dot products in exp
.
See also
Overview, DOT, DotSimplify, DeclareNonCommutative, UnDeclareNonCommutative
Examples
DOT[a x + b y + c z, d + e + f]
DotExpand[%]
(ax+by+cz).(d+e+f)
adx+aex+afx+bdy+bey+bfy+cdz+cez+cfz
DeclareNonCommutative /@ {a, b, c, d, e, f};
DotExpand[DOT[a x + b y + c z, d + e + f]]
xa.d+xa.e+xa.f+yb.d+yb.e+yb.f+zc.d+zc.e+zc.f
UnDeclareNonCommutative /@ {a, b, c, d, e, f};
DotExpand[DOT[a x + b y + c z, d + e + f]]
adx+aex+afx+bdy+bey+bfy+cdz+cez+cfz