.allTuplesSortedCpp | R Documentation |
An internal helper function to check that each tuple is sorted in increasing order; only used for tuples of size > 2.
.allTuplesSortedCpp(pos1, internal_pos, posm)
pos1 |
An integer vector. |
internal_pos |
An integer matrix. |
posm |
An integer vector. |
.allTuplesSorted is adapted from http://stackoverflow.com/a/7601857. Strict inequalities are required.
TRUE if each tuple is sorted in strictly increasing order, FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.