Module dashu::base::ring

source ·
Expand description

Trait definitions for operations related to rings (integer/polynomial/etc.)

Traits§

  • Computer the floored cubic root of the number and return the remainder at the same time.
  • Compute Euclidean quotient.
  • Compute quotient and remainder at the same time.
  • Compute quotient inplace and return remainder at the same time.
  • Compute Euclidean quotient and remainder at the same time.
  • Compute the greatest common divisor between self and the other operand, and return both the common divisor g and the Bézout coefficients respectively.
  • Compute the greatest common divisor.
  • Compute Euclidean remainder.
  • Computer the floored square root of the number and return the remainder at the same time.