vectorDotProduct | ||||||||||
Type | function | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | ||||||||||
Introduced | 8.1 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Function: sum, matrixMultiply Glossary: function, array, return | |||||||||
Description | Use the vectorDotProduct function to compute the vector dot product of two arrays. The vector dot product is the sum of the pair-wise product of matching keys from each array. It is equivalent to the following:
The names of the keys in firstArray must be the same as names of the keys of secondArray. | |||||||||
Tags | math |