Package-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
infix fun <E> List<E>.cartesianPower(power: Int): Sequence<List<E>>
Link copied to clipboard
fun <E> cartesianProduct(vararg collections: List<E>): Sequence<List<E>>
fun <E> cartesianProduct(collections: List<List<E>>): Sequence<List<E>>
fun <E1, E2> cartesianProduct(collection1: Iterable<E1>, collection2: Iterable<E2>): Sequence<Pair<E1, E2>>
fun <E1, E2, E3> cartesianProduct(collection1: Iterable<E1>, collection2: Iterable<E2>, collection3: Iterable<E3>): Sequence<Triple<E1, E2, E3>>
Link copied to clipboard
fun <E> List<E>.combinations(k: Int = size): Sequence<List<E>>
Link copied to clipboard
fun <E> List<E>.permutations(k: Int = size): Sequence<List<E>>