Constructors
constructor
- new Uint8Matrix(rows: number, cols: number, defaultValue: number): Uint8Matrix
Parameters
rows: number
cols: number
defaultValue: number
Properties
Private Readonly _data
_data: Uint8Array
Readonly cols
cols: number
Readonly rows
rows: number
Methods
get
- get(row: number, col: number): number
set
- set(row: number, col: number, value: number): void
Parameters
row: number
col: number
value: number
Returns void