Skip to content

Latest commit

 

History

History
72 lines (34 loc) · 903 Bytes

File metadata and controls

72 lines (34 loc) · 903 Bytes

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

FloatVector.set() method

Returns a new vector equal to the old one, except with the entry at index replaced with value

Signature:

set(index: number, value: number): Vector<number>;

Parameters

Parameter

Type

Description

index

number

The index of the value to replace

value

number

The new value

Returns:

Vector<number>

The new vector