
concat(+RowsOrCols, -List)

   Concatenate all the rows (or columns) into a flat list

Type
   library(matrix_util)

Examples
   
    ?- list2rows([1,2,3,4,5,6],2,3,Rows), concat(Rows,Xs).
    Rows = [[1, 2, 3], [4, 5, 6]]
    Xs = [1, 2, 3, 4, 5, 6]
    Yes (0.00s cpu)
    

See Also
   list2rows / 4, list2cols / 4, transpose / 2
