Object/Class

ap.basetypes

IdealInt

Related Docs: class IdealInt | package basetypes

Permalink

object IdealInt

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IdealInt
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object IdealIntIsIntegral extends Integral[IdealInt]

    Permalink
  5. val MINUS_ONE: IdealInt

    Permalink
  6. val ONE: IdealInt

    Permalink
  7. val ZERO: IdealInt

    Permalink
  8. def apply(intString: String, b: Int): IdealInt

    Permalink

    Translates the String representation of an IdealInt with base b into an IdealInt.

    Translates the String representation of an IdealInt with base b into an IdealInt.

  9. def apply(intString: String): IdealInt

    Permalink

    Translates the decimal String representation of an IdealInt into an IdealInt.

    Translates the decimal String representation of an IdealInt into an IdealInt.

  10. def apply(i: BigInteger): IdealInt

    Permalink
  11. def apply(i: Long): IdealInt

    Permalink
  12. def apply(i: Int): IdealInt

    Permalink

    Constructs a IdealInt whose value is equal to that of the specified integer value.

    Constructs a IdealInt whose value is equal to that of the specified integer value.

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def gcd(vals: Iterator[IdealInt]): IdealInt

    Permalink

    The gcd of a collection of IdealInt.

    The gcd of a collection of IdealInt.

  18. def gcd(vals: Iterable[IdealInt]): IdealInt

    Permalink

    The gcd of a collection of IdealInt.

    The gcd of a collection of IdealInt.

  19. def gcdAndCofactors(vals: Seq[IdealInt]): (IdealInt, Seq[IdealInt])

    Permalink

    Extended Euclidean algorithm for computing both the gcd and the cofactors of a sequence of IdealInt.

    Extended Euclidean algorithm for computing both the gcd and the cofactors of a sequence of IdealInt.

  20. def gcdAndCofactors(_a: IdealInt, _b: IdealInt): (IdealInt, IdealInt, IdealInt)

    Permalink

    Extended Euclidean algorithm for computing both the gcd and the cofactors of two IdealInt.

    Extended Euclidean algorithm for computing both the gcd and the cofactors of two IdealInt.

  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. implicit def int2idealInt(i: Int): IdealInt

    Permalink

    Implicit conversion from Int to IdealInt.

    Implicit conversion from Int to IdealInt.

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def lcm(vals: Iterator[IdealInt]): IdealInt

    Permalink

    The lcm of a collection of IdealInt.

    The lcm of a collection of IdealInt.

  26. def lcm(vals: Iterable[IdealInt]): IdealInt

    Permalink

    The lcm of a collection of IdealInt.

    The lcm of a collection of IdealInt.

  27. def log2(n: IdealInt): Option[Int]

    Permalink

    If n = 2^k, return Some(k), otherwise None.

    If n = 2^k, return Some(k), otherwise None.

  28. implicit def long2idealInt(l: Long): IdealInt

    Permalink

    Implicit conversion from Long to IdealInt

    Implicit conversion from Long to IdealInt

  29. def max(els: Iterable[IdealInt]): IdealInt

    Permalink
  30. def max(it: Iterator[IdealInt]): IdealInt

    Permalink

    Compute the maximum of a sequence of IdealInt.

    Compute the maximum of a sequence of IdealInt. If the sequence is empty, ZERO is returned

  31. def min(els: Iterable[IdealInt]): IdealInt

    Permalink
  32. def min(it: Iterator[IdealInt]): IdealInt

    Permalink

    Compute the maximum of a sequence of IdealInt.

    Compute the maximum of a sequence of IdealInt. If the sequence is empty, ZERO is returned

  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. def pow2(exp: IdealInt): IdealInt

    Permalink

    Compute 2^exp.

    Compute 2^exp.

  37. def pow2(exp: Int): IdealInt

    Permalink

    Compute 2^exp.

    Compute 2^exp.

  38. def pow2MinusOne(exp: IdealInt): IdealInt

    Permalink

    Compute 2^exp - 1.

    Compute 2^exp - 1.

  39. def pow2MinusOne(exp: Int): IdealInt

    Permalink

    Compute 2^exp - 1.

    Compute 2^exp - 1.

  40. def pow2Mod(exp: IdealInt, modulus: IdealInt): IdealInt

    Permalink

    Compute 2^exp % modulus.

    Compute 2^exp % modulus.

  41. def sum(it: Iterator[IdealInt]): IdealInt

    Permalink
  42. def sum(it: Iterable[IdealInt]): IdealInt

    Permalink

    Compute the sum of a sequence of IdealInt

    Compute the sum of a sequence of IdealInt

  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. def unapply(n: IdealInt): Option[Int]

    Permalink

    Extract a 32-bit integer from an IdealInt.

    Extract a 32-bit integer from an IdealInt.

  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped