Utils

This module, part of NSPOC.jl, contains the methods that do not fit particularly well in any other category.

Tuples utilities

Some utilities to deal with tuples. In particular these methods allow to insert/swap tuple elements.

NSPOC.Utils.psort_tupleFunction
psort_tuple(lst::NTuple{N,T}) where {N,T}

Returns the permutation that sorts an NTuple in descending order

source