Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 682 Bytes

vector.arrayvector.innerproduct.md

File metadata and controls

26 lines (15 loc) · 682 Bytes

Home > @josh-brown/vector > ArrayVector > innerProduct

ArrayVector.innerProduct() method

Implements the inner product (scalar product or dot product) of two vectors

Signature:

innerProduct(other: Vector<S>): S;

Parameters

Parameter Type Description
other Vector<S> The vector with which to calculate an inner product

Returns:

S

The inner product