UNPKG

itk-wasm

Version:

High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.

8 lines (5 loc) 252 B
import TypedArray from './typed-array.js' function setMatrixElement (matrixData: TypedArray, columns: number, row: number, column: number, value: number | bigint): void { matrixData[column + row * columns] = value } export default setMatrixElement