Expand description
factorisation.rs
Created by Mitchell Nordine at 05:03AM on May 29, 2014.
Functions§
- are_
all_ factors - Check if all of the queried values are a factor of num.
- are_
any_ factors - Check if any of the queried values are a factor of num.
- get_
all_ factors - Get all factors for ‘n’.
- is_
factor - Check if the queried value is a factor of num.
- is_
prime - Is the number prime?
- lowest_
non_ one - Return the lowest non-one factor.