The dot command finds the dot product of two vectors.
dotP, dotprod, scalar_product, and
scalarProduct are synonyms for dot. The infixed
operator * and its prefixed form ’*’ will also find
dot products.
Example.
Input:
or:
or:
or:
Output:
25 |
Indeed 25=1· 4+2· 3+3·5.
Note that * may be used to find the product of two polynomials represented as list of their coefficients, but to avoid ambiguity, the polynomial lists must be poly1[…].