Skip to content

Latest commit

 

History

History
56 lines (27 loc) · 815 Bytes

File metadata and controls

56 lines (27 loc) · 815 Bytes

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

SparseVector.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