dot-allTuplesSortedCpp: An internal helper function to check that each tuple is...

.allTuplesSortedCppR Documentation

An internal helper function to check that each tuple is sorted in increasing order; only used for tuples of size > 2.

Description

An internal helper function to check that each tuple is sorted in increasing order; only used for tuples of size > 2.

Usage

.allTuplesSortedCpp(pos1, internal_pos, posm)

Arguments

pos1

An integer vector.

internal_pos

An integer matrix.

posm

An integer vector.

Details

.allTuplesSorted is adapted from http://stackoverflow.com/a/7601857. Strict inequalities are required.

Value

TRUE if each tuple is sorted in strictly increasing order, FALSE otherwise.


PeteHaitch/GenomicTuples documentation built on Nov. 15, 2024, 7:35 p.m.