In mathematica if you run:
In[83]:= M = Table[Subscript[m, i], {i, 3}] ;
P = Table[Subscript[p, i], {i, 3}];
Q = Table[Subscript[q, i], {i, 3}];
fn[t1_, t2_] := #.# &[t1 P - t2 Q + M];
fnSym = fn[t1, t2]
Out[87]= (Subscript[m, 1] + t1 Subscript[p, 1] -
t2 Subscript[q, 1]) ** (Subscript[m, 1] + t1 Subscript[p, 1] -
t2 Subscript[q, 1]) + (Subscript[m, 2] + t1 Subscript[p, 2] -
t2 Subscript[q, 2]) ** (Subscript[m, 2] + t1 Subscript[p, 2] -
t2 Subscript[q, 2]) + (Subscript[m, 3] + t1 Subscript[p, 3] -
t2 Subscript[q, 3]) ** (Subscript[m, 3] + t1 Subscript[p, 3] -
t2 Subscript[q, 3])
The result contains lots of double asterisk **, which I cannot find anywhere in their operator list (http://reference.wolfram.com/language/tutorial/Operators.html)
So what does it mean?
NonCommutativeMultiply
$\endgroup$**
won't appear in the result unless it also appeared in your input. $\endgroup$