Student[MultivariateCalculus]
DotProduct
return the dot product of two vectors
Calling Sequence
Parameters
Description
Examples
Compatibility
DotProduct(u, v, conjopt)
u . v
u, v
-
Vectors with algebraic entries and equal dimensions
conjopt
(optional) a keyword argument of the form conjugate = truefalse; defaults to false
The DotProduct command computes the dot product of u and v.
The infix operator . can also be used to compute the dot product.
If u and v are n-dimensional Vectors, and conjugate is false, their dot product is given by the formula ∑i=1nuivi. If conjugate is true, then their dot product is given by the formula ∑i=1nui&conjugate0;vi.
withStudent:-MultivariateCalculus:
u≔a,b,c
u≔abc
v≔d,e,f
v≔def
u·v
ad+be+cf
The complex dot product is not commutative.
DotProductu,v,conjugate=true
a&conjugate0;d+b&conjugate0;e+c&conjugate0;f
DotProductv,u,conjugate=true
d&conjugate0;a+e&conjugate0;b+f&conjugate0;c
The Student[MultivariateCalculus][DotProduct] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
Student
Download Help Document