Skip to content

Latest commit

 

History

History
56 lines (27 loc) · 831 Bytes

File metadata and controls

56 lines (27 loc) · 831 Bytes

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

FloatVector.innerProduct() method

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

Signature:

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

Parameters

Parameter

Type

Description

other

Vector<number>

The vector with which to calculate an inner product

Returns:

number

The inner product