swap_pass: Perform one-shot adjacent swapping for each element.

View source: R/RcppExports.R

swap_passR Documentation

Perform one-shot adjacent swapping for each element.

Description

Perform one-shot adjacent swapping for each element.

Usage

swap_pass(listdata)

Arguments

listdata

A list of vector and integer.

Value

A List.

Examples

swap_pass(list(vec = c(1, 1, 0), cnt = 0))


keita-iida/ASURAT documentation built on Nov. 23, 2022, 6:50 p.m.