ListTools[DotProduct] - compute the dot product of two lists
|
Calling Sequence
|
|
DotProduct(L1, L2)
|
|
Description
|
|
•
|
The DotProduct(L1, L2) calling sequence computes the real dot product of two lists, L1 and L2, where both lists have equal length.
|
•
|
To find the inner product, use DotProduct(L1, map(conjugate, L2)).
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?