Versions in this module Expand all Collapse all v0 v0.4.0 May 17, 2024 Changes in this version + var Globally = &cache + type Factors struct + func Commons(a, b *Factors) *Factors + func Factorize(num int64) *Factors + func (f *Factors) All() []int64 + func (f *Factors) HasPowersOf(factor int64) int + func (f *Factors) List() []int64 + func (f *Factors) Powers() map[int64]int + type Fraction struct + func Fractionize(num, den int64) *Fraction + func ParseFractionString(fractionLike string) (*Fraction, error) + func (fr *Fraction) Reduce(times int) *Fraction + func (fr *Fraction) String() string + type Primes struct + func Until(n int64) *Primes + func (p *Primes) List() []int64