resqpy.olio.factorsΒΆ

Factorization and functions supporting grid extent determination from corner points.

Functions

all_factors

Returns a sorted list of unique factors of n.

all_factors_from_primes

Returns a sorted list of unique factors from prime factorization.

combinatorial

Returns a list of all possible product combinations of numbers from list numbers, with some duplicates.

factorize

Returns list of prime factors of positive integer n.

remove_subset

Remove all elements of subset from primary list.