Skip to content

Latest commit

 

History

History
56 lines (27 loc) · 811 Bytes

File metadata and controls

56 lines (27 loc) · 811 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