scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
7 lines (6 loc) • 343 B
TypeScript
/**
* @description creates a 2-dimensional array filled with zeros
* @param dimension, an array containing the 2D dimensions [height, width] defined as a 2D array,
* e.g. [3,2] creates an array 3 elements each with 2 elements, or [ [0, 0] , [0, 0], [0, 0] ]
*/
export declare const zeroArray2D: (dimensions: number[]) => number[][];