Matrix interface

A two-dimensional matrix.

Signature:

export declare interface Matrix 

Properties

Property Type Description
columns number The number of columns.
data number[] The values as a flattened one-dimensional array.
rows number The number of rows.

Matrix.columns

The number of columns.

Signature:

columns: number;

Matrix.data

The values as a flattened one-dimensional array.

Signature:

data: number[];

Matrix.rows

The number of rows.

Signature:

rows: number;