Home > @josh-brown/vector > FloatVector > innerProduct
Implements the inner product (scalar product or dot product) of two vectors
Signature:
innerProduct(other: Vector<number>): number;|
Parameter |
Type |
Description |
|---|---|---|
|
other |
Vector<number> |
The vector with which to calculate an inner product |
Returns:
number
The inner product