Skip to main content

trans

trans(
@llll ## required
@depths 1
@iterationmode 1
) -> llll/null

Returns the matrix transposition of an llll, converting matrix rows into columns.


Arguments

  • @llll [llll] (required)
  • @depths [int] (default: 1)
  • @iterationmode [int] (default: 1)

Output

Matrix transposition of an llll. [llll/null]

warning

trans is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, trans will return null without raising an error if required arguments are not provided.


Usage

trans([1 2 3] ['one' 'two' 'three']) ## [ 1 one ] [ 2 two ] [ 3 three ]