stack


function stack(x:NumberLike, y:NumberLike) -> NumberLike

Stack two arrays atop one another, concatenating their columns.

  • x Argument.
  • y Argument.

Returns Result.

x and y must have the same number of columns. The result has this number of columns, and a number of rows equal to the number of rows of x plus the number of rows of y. The result has two dimensions if at least one of the arguments has two dimensions, and one dimension otherwise.