spire.std

ShortAlgebra

class ShortAlgebra extends ShortIsEuclideanRing with ShortIsReal with Serializable

Annotations
@SerialVersionUID( 0L )
Linear Supertypes
Serializable, Serializable, ShortIsReal, ShortIsSigned, ShortOrder, IsIntegral[Short], IsReal[Short], Signed[Short], Order[Short], Eq[Short], ShortIsEuclideanRing, EuclideanRing[Short], CRing[Short], MultiplicativeCMonoid[Short], MultiplicativeCSemigroup[Short], Ring[Short], Rng[Short], AdditiveAbGroup[Short], AdditiveCMonoid[Short], AdditiveCSemigroup[Short], AdditiveGroup[Short], Rig[Short], MultiplicativeMonoid[Short], Semiring[Short], MultiplicativeSemigroup[Short], AdditiveMonoid[Short], AdditiveSemigroup[Short], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ShortAlgebra
  2. Serializable
  3. Serializable
  4. ShortIsReal
  5. ShortIsSigned
  6. ShortOrder
  7. IsIntegral
  8. IsReal
  9. Signed
  10. Order
  11. Eq
  12. ShortIsEuclideanRing
  13. EuclideanRing
  14. CRing
  15. MultiplicativeCMonoid
  16. MultiplicativeCSemigroup
  17. Ring
  18. Rng
  19. AdditiveAbGroup
  20. AdditiveCMonoid
  21. AdditiveCSemigroup
  22. AdditiveGroup
  23. Rig
  24. MultiplicativeMonoid
  25. Semiring
  26. MultiplicativeSemigroup
  27. AdditiveMonoid
  28. AdditiveSemigroup
  29. AnyRef
  30. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShortAlgebra()

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 abs(a: Short): Short

    An idempotent function that ensures an object has a non-negative sign.

    An idempotent function that ensures an object has a non-negative sign.

    Definition Classes
    ShortIsSignedSigned
  7. def additive: AbGroup[Short]

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def ceil(a: Short): Short

    Definition Classes
    IsIntegralIsReal
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compare(x: Short, y: Short): Int

    Definition Classes
    ShortOrderOrder
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def eqv(x: Short, y: Short): Boolean

    Returns true if x and y are equivalent, false otherwise.

    Returns true if x and y are equivalent, false otherwise.

    Definition Classes
    ShortOrderOrderEq
  15. final def euclid(a: Short, b: Short)(implicit eq: Eq[Short]): Short

    Attributes
    protected[this]
    Definition Classes
    EuclideanRing
    Annotations
    @tailrec()
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def floor(a: Short): Short

    Definition Classes
    IsIntegralIsReal
  18. def fromInt(n: Int): Short

    Defined to be equivalent to additive.sumn(one, n).

    Defined to be equivalent to additive.sumn(one, n). That is, n repeated summations of this ring's one, or -one if n is negative.

    Definition Classes
    ShortIsEuclideanRingRing
  19. def gcd(a: Short, b: Short): Short

    Definition Classes
    ShortIsEuclideanRingEuclideanRing
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def gt(x: Short, y: Short): Boolean

    Definition Classes
    ShortOrderOrder
  22. def gteqv(x: Short, y: Short): Boolean

    Definition Classes
    ShortOrderOrder
  23. def hashCode(): Int

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

    Definition Classes
    Any
  25. def isWhole(a: Short): Boolean

    Definition Classes
    IsIntegralIsReal
  26. def isZero(a: Short): Boolean

    Definition Classes
    Signed
  27. def lcm(a: Short, b: Short): Short

    Definition Classes
    EuclideanRing
  28. def lt(x: Short, y: Short): Boolean

    Definition Classes
    ShortOrderOrder
  29. def lteqv(x: Short, y: Short): Boolean

    Definition Classes
    ShortOrderOrder
  30. def max(x: Short, y: Short): Short

    Definition Classes
    Order
  31. def min(x: Short, y: Short): Short

    Definition Classes
    Order
  32. def minus(a: Short, b: Short): Short

    Definition Classes
    ShortIsEuclideanRingAdditiveGroup
  33. def mod(a: Short, b: Short): Short

    Definition Classes
    ShortIsEuclideanRingEuclideanRing
  34. def multiplicative: CMonoid[Short]

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

    Definition Classes
    AnyRef
  36. def negate(a: Short): Short

    Definition Classes
    ShortIsEuclideanRingAdditiveGroup
  37. def neqv(x: Short, y: Short): Boolean

    Returns false if x and y are equivalent, true otherwise.

    Returns false if x and y are equivalent, true otherwise.

    Definition Classes
    ShortOrderEq
  38. final def notify(): Unit

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

    Definition Classes
    AnyRef
  40. def on[B](f: (B) ⇒ Short): Order[B]

    Defines an order on B by mapping B to A using f and using As order to order B.

    Defines an order on B by mapping B to A using f and using As order to order B.

    Definition Classes
    OrderEq
  41. def one: Short

  42. def plus(a: Short, b: Short): Short

  43. def pow(a: Short, b: Int): Short

    This is similar to Semigroup#pow, except that a pow 0 is defined to be the multiplicative identity.

    This is similar to Semigroup#pow, except that a pow 0 is defined to be the multiplicative identity.

    Definition Classes
    ShortIsEuclideanRingRigSemiring
  44. def quot(a: Short, b: Short): Short

    Definition Classes
    ShortIsEuclideanRingEuclideanRing
  45. def quotmod(a: Short, b: Short): (Short, Short)

    Definition Classes
    EuclideanRing
  46. def reverse: Order[Short]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    Order
  47. def round(a: Short): Short

    Definition Classes
    IsIntegralIsReal
  48. def sign(a: Short): Sign

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Definition Classes
    Signed
  49. def signum(a: Short): Int

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Definition Classes
    ShortIsSignedSigned
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def times(a: Short, b: Short): Short

  52. def toDouble(n: Short): Double

    Definition Classes
    ShortIsRealIsReal
  53. def toString(): String

    Definition Classes
    AnyRef → Any
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def zero: Short

    Definition Classes
    ShortIsEuclideanRingAdditiveMonoid

Inherited from Serializable

Inherited from Serializable

Inherited from ShortIsReal

Inherited from ShortIsSigned

Inherited from ShortOrder

Inherited from IsIntegral[Short]

Inherited from IsReal[Short]

Inherited from Signed[Short]

Inherited from Order[Short]

Inherited from Eq[Short]

Inherited from ShortIsEuclideanRing

Inherited from EuclideanRing[Short]

Inherited from CRing[Short]

Inherited from MultiplicativeCMonoid[Short]

Inherited from MultiplicativeCSemigroup[Short]

Inherited from Ring[Short]

Inherited from Rng[Short]

Inherited from AdditiveAbGroup[Short]

Inherited from AdditiveCMonoid[Short]

Inherited from AdditiveCSemigroup[Short]

Inherited from AdditiveGroup[Short]

Inherited from Rig[Short]

Inherited from MultiplicativeMonoid[Short]

Inherited from Semiring[Short]

Inherited from MultiplicativeSemigroup[Short]

Inherited from AdditiveMonoid[Short]

Inherited from AdditiveSemigroup[Short]

Inherited from AnyRef

Inherited from Any

Ungrouped