Readonly Internal_ReadonlycolsNumber of columns.
ReadonlyldaLeading dimension — stride between row starts (>= cols).
ReadonlyrowsNumber of rows.
StaticfromUploads a row-major Float32Array matrix to GPU memory.
lda defaults to cols (dense, no padding between rows).
data must have at least rows * lda elements.
matrix data in row-major order
number of rows
number of columns
Optionallda: numberleading dimension (default: cols)
Represents a row-major Float32Array matrix stored in GPU memory.
The buffer holds
rows * ldaelements.lda(leading dimension) is the number of floats between the start of consecutive rows — must be >=cols. Whenlda === colsthe matrix is dense with no padding.See