Template Function sequant::permutation_parity¶ Defined in File permutation.hpp Function Documentation¶ template<std::integral T>int sequant::permutation_parity(std::span<T> p, bool restore = false)¶ computes parity of a permutation of 0 … N-1 Parameters: p – permutation restore – if true, p is restored to its input value on return; if false, it is left with N added to each element (the cycle marks)