/** * @module Functions/Conversion * @author Alan Rodas Bonjour */ /** * Creates a two-dimensional matrix where all positions are filled using the given * generator. * * @throws Error if the width or the height given are zero or negative. * * @param width - - The number of rows of the matrix * @param height - - The number of columns of the matrix * @param initialValueGenerator - - A function that given the i,j position of the element returns * the element to store the matrix at that position * * @returns A `T[][]` where T is the type of the elements in the matrix. */ export declare const matrix: (width: number, height: number, initialValueGenerator?: (i: number, j: number) => T) => T[][]; //# sourceMappingURL=matrix.d.ts.map