algebra.instances

LongAlgebra

class LongAlgebra extends CommutativeRing[Long] with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LongAlgebra
  2. CommutativeRing
  3. CommutativeRng
  4. CommutativeRig
  5. MultiplicativeCommutativeMonoid
  6. CommutativeSemiring
  7. MultiplicativeCommutativeSemigroup
  8. Ring
  9. Rng
  10. AdditiveCommutativeGroup
  11. AdditiveGroup
  12. Rig
  13. MultiplicativeMonoid
  14. Semiring
  15. MultiplicativeSemigroup
  16. AdditiveCommutativeMonoid
  17. AdditiveCommutativeSemigroup
  18. AdditiveMonoid
  19. AdditiveSemigroup
  20. Serializable
  21. Serializable
  22. AnyRef
  23. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LongAlgebra()

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def additive: CommutativeGroup[Long]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromBigInt(n: BigInt): Long

    Convert the given BigInt to an instance of A.

    Convert the given BigInt to an instance of A.

    This is equivalent to n repeated summations of this ring's one, or -n summations of -one if n is negative.

    Most type class instances should consider overriding this method for performance reasons.

    Definition Classes
    LongAlgebraRing
  13. def fromInt(n: Int): Long

    Convert the given integer to an instance of A.

    Convert the given integer to an instance of A.

    Defined to be equivalent to sumN(one, n).

    That is, n repeated summations of this ring's one, or -n summations of -one if n is negative.

    Most type class instances should consider overriding this method for performance reasons.

    Definition Classes
    LongAlgebraRing
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def isOne(a: Long)(implicit ev: Eq[Long]): Boolean

    Tests if a is one.

    Tests if a is one.

    Definition Classes
    MultiplicativeMonoid
  18. def isZero(a: Long)(implicit ev: Eq[Long]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  19. def minus(x: Long, y: Long): Long

    Definition Classes
    LongAlgebraAdditiveGroup
  20. def multiplicative: CommutativeMonoid[Long]

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

    Definition Classes
    AnyRef
  22. def negate(x: Long): Long

    Definition Classes
    LongAlgebraAdditiveGroup
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def one: Long

    Definition Classes
    LongAlgebraMultiplicativeMonoid
  26. def plus(x: Long, y: Long): Long

    Definition Classes
    LongAlgebraAdditiveSemigroup
  27. def positivePow(a: Long, n: Int): Long

    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  28. def positiveSumN(a: Long, n: Int): Long

    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  29. def pow(x: Long, y: Int): Long

  30. def product(as: TraversableOnce[Long]): Long

    Given a sequence of as, compute the product.

    Given a sequence of as, compute the product.

    Definition Classes
    MultiplicativeMonoid
  31. def sum(as: TraversableOnce[Long]): Long

    Given a sequence of as, compute the sum.

    Given a sequence of as, compute the sum.

    Definition Classes
    AdditiveMonoid
  32. def sumN(a: Long, n: Int): Long

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

    Definition Classes
    AnyRef
  34. def times(x: Long, y: Long): Long

    Definition Classes
    LongAlgebraMultiplicativeSemigroup
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def tryProduct(as: TraversableOnce[Long]): Option[Long]

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    MultiplicativeMonoidMultiplicativeSemigroup
  37. def trySum(as: TraversableOnce[Long]): Option[Long]

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    AdditiveMonoidAdditiveSemigroup
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def zero: Long

    Definition Classes
    LongAlgebraAdditiveMonoid

Inherited from CommutativeRing[Long]

Inherited from CommutativeRng[Long]

Inherited from CommutativeRig[Long]

Inherited from CommutativeSemiring[Long]

Inherited from Ring[Long]

Inherited from Rng[Long]

Inherited from AdditiveCommutativeGroup[Long]

Inherited from AdditiveGroup[Long]

Inherited from Rig[Long]

Inherited from MultiplicativeMonoid[Long]

Inherited from Semiring[Long]

Inherited from MultiplicativeSemigroup[Long]

Inherited from AdditiveMonoid[Long]

Inherited from AdditiveSemigroup[Long]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped