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/ASURATBI documentation built on Feb. 16, 2023, 9:37 a.m.