Function empty_fixed_size

  • Create an empty table with fixed size

    Parameters

    • row_count: number

      number of rows

    • col_count: number

      number of columns

    • rowsizes: number[]

      size of each row if rowsizes.length is less than row_count, the last value will be repeated e.g. [1,2,3] -> [1,2,3,3,3]

    • colsizes: number[]

      size of each column if colsizes.length is less than col_count, the last value will be repeated

    • empty_map: boolean[][]

    Returns Diagram