stack


function stack<Left, Right>(l:Left, r:Right) ->

Stack two matrices atop one another (i.e. append columns) to create a new matrix.

function stack(x:Real, y:Real) -> Real[_]

Stack two scalars atop one another (i.e. append them) to create a new vector.

function stack(x:Integer, y:Integer) -> Integer[_]

Stack two scalars atop one another (i.e. append them) to create a new vector.

function stack(x:Boolean, y:Boolean) -> Boolean[_]

Stack two scalars atop one another (i.e. append them) to create a new vector.

function stack<Type>(x:Type[_], y:Type[_]) -> Type[_]

Stack two vectors atop one another (i.e. append them) to create a new vector.

function stack<Type>(x:Type[_], y:Type) -> Type[_]

Stack a vector and scalar atop one another (i.e. append them) to create a new vector.

function stack<Type>(x:Type, y:Type[_]) -> Type[_]

Stack a scalar and vector atop one another (i.e. append them) to create a new vector.

function stack<Type>(X:Type[_,_], Y:Type[_,_]) -> Type[_,_]

Stack two matrices atop one another (i.e. append columns) to create a new matrix.