pack


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

Pack two matrices next to one another (i.e. append rows) to create a new matrix.

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

Pack two scalars next to one another as a row to create a new matrix.

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

Pack two scalars next to one another as a row to create a new matrix.

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

Pack two scalars next to one another as a row to create a new matrix.

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

Pack two vectors next to one another as columns of a new matrix.

function pack<Type>(l:Type[_,_], r:Type[_,_]) -> Type[_,_]

Pack two matrices next to one another (i.e. append rows) to create a new matrix.