Skip to content

Latest commit

 

History

History
84 lines (39 loc) · 921 Bytes

File metadata and controls

84 lines (39 loc) · 921 Bytes

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

ArrayMatrix.set() method

Returns a new matrix equal to the old one, except with the entry at (i, j) replaced with value

Signature:

set(i: number, j: number, value: S): Matrix<S>;

Parameters

Parameter

Type

Description

i

number

j

number

value

S

The new value

Returns:

Matrix<S>

The new matrix