Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Array2D<T>

The interface for 2D arrays.

Type parameters

  • T

    The type of the items inside the array

Hierarchy

  • Array2D

Index

Properties

Properties

data

data: T[]

A flat array of items in row-major order. The length of this array should be equal to width × height.

Readonly height

height: number

The height of the array in rows. Cannot be negative.

Readonly width

width: number

The width of the array in columns. Cannot be negative.

Generated using TypeDoc