Skip to content

Transpose() #34

@DylanMeeus

Description

@DylanMeeus

The transpose function transposes the rows and columns of its argument. For example,

transpose [[1,2,3],[4,5,6]]
[[1,4],[2,5],[3,6]]

If some of the rows are shorter than the following rows, their elements are skipped:

transpose [[10,11],[20],[],[30,31,32]]
[[10,20,30],[11,31],[32]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions