Permutations

org.appliedtopology.tda4j.streams.Permutations
class Permutations(elementCount: Int)

This class enumerates permutations in order to allow permutations of bit-positions to fill out the symmetry group of the hypercube.

Value parameters

elementCount

How many objects are permuted?

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(n: Int): List[Int]

Find the nth permutation in an enumeration of all permutations.

Find the nth permutation in an enumeration of all permutations.

Attributes

Returns

Image of the permutation as a List.

def factorial(n: Int): Long

Concrete fields

val size: Long