dot
vector →
dot(
vector: vector
) → numeric
Returns the dot product of the input vector and another vector of the same dimension.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
vector | vector | Yes | Specifies the vector whose components are multiplied with the input components. |
Argument evaluation
vector: Evaluated once in the enclosing context.
Examples
V(1, 2, 3) | dot(V(4, 5, 6)) → 32
Kind: Function
Scope: vector
Aliases: None