mosqcontrol (version 0.1.0)

uperm: uperm

Description

uperm returns permutation matrix.

Usage

uperm(d)

Arguments

d

Vector

Details

For a given list of numbers, this function outputs a matrix, where each row is a unique permutation of the list.

Examples

Run this code
# NOT RUN {
uperm(c(1, 2))
# }

Run the code above in your browser using DataLab