Global Functionfwcd.swift-utils 4.6.2Utils
primeFactorization(_:)
Finds the prime factorization of the given integer.
func primeFactorization<I>(_ n: I) -> [I] where I : ExpressibleByIntegerLiteral, I : Strideable, I : Addable, I : Divisible, I : Magnitudable, I : Multipliable, I : Remainderable, I : Subtractable, I == I.Magnitude, I.Stride : SignedInteger