Divides

com.phasmidsoftware.number.core.numerical.Divides
object Divides

Object containing an implicit class which can be used to determine factorization.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Divides.type

Members list

Type members

Classlikes

implicit class BigIntDivides(x: BigInt)

Implicit class to determine if a number (x) is a factor of another number (y). NOTE that for potential factors larger than an Int, you should just use % directly.

Implicit class to determine if a number (x) is a factor of another number (y). NOTE that for potential factors larger than an Int, you should just use % directly.

Value parameters

x

an Int.

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class IntDivides(x: Int)

Implicit class to determine if a number (x) is a factor of another number (y).

Implicit class to determine if a number (x) is a factor of another number (y).

Value parameters

x

an Int.

Attributes

Supertypes
class Object
trait Matchable
class Any

Implicits

Implicits

final implicit def BigIntDivides(x: BigInt): BigIntDivides

Implicit class to determine if a number (x) is a factor of another number (y). NOTE that for potential factors larger than an Int, you should just use % directly.

Implicit class to determine if a number (x) is a factor of another number (y). NOTE that for potential factors larger than an Int, you should just use % directly.

Value parameters

x

an Int.

Attributes

final implicit def IntDivides(x: Int): IntDivides

Implicit class to determine if a number (x) is a factor of another number (y).

Implicit class to determine if a number (x) is a factor of another number (y).

Value parameters

x

an Int.

Attributes