class IntAlgebra extends IntIsEuclideanRing with IntIsNRoot with IntIsReal with Serializable
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- IntAlgebra
- IntIsReal
- IntIsSigned
- IntOrder
- IsIntegral
- IsRational
- IsAlgebraic
- IsReal
- Signed
- Order
- PartialOrder
- Eq
- IntIsNRoot
- NRoot
- IntIsEuclideanRing
- EuclideanRing
- GCDRing
- CommutativeRing
- CommutativeRng
- CommutativeRig
- MultiplicativeCommutativeMonoid
- CommutativeSemiring
- MultiplicativeCommutativeSemigroup
- Ring
- Rng
- AdditiveCommutativeGroup
- AdditiveGroup
- Rig
- MultiplicativeMonoid
- Semiring
- MultiplicativeSemigroup
- AdditiveCommutativeMonoid
- AdditiveCommutativeSemigroup
- AdditiveMonoid
- AdditiveSemigroup
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IntAlgebra()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
abs(a: Int): Int
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
- IntIsSigned → Signed
-
def
additive: CommutativeGroup[Int]
- Definition Classes
- AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ceil(a: Int): Int
Rounds
a
the nearest integer that is greater than or equal toa
.Rounds
a
the nearest integer that is greater than or equal toa
.- Definition Classes
- IsIntegral → IsReal
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
compare(x: Int, y: Int): Int
- Definition Classes
- IntOrder → Order
-
def
comparison(x: Int, y: Int): Comparison
- Definition Classes
- Order
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eqv(x: Int, y: Int): Boolean
- Definition Classes
- IntOrder → Order → PartialOrder → Eq
-
def
euclideanFunction(a: Int): BigInt
- Definition Classes
- IntIsEuclideanRing → EuclideanRing
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
floor(a: Int): Int
Rounds
a
the nearest integer that is less than or equal toa
.Rounds
a
the nearest integer that is less than or equal toa
.- Definition Classes
- IsIntegral → IsReal
-
def
fpow(a: Int, b: Int): Int
- Definition Classes
- IntIsNRoot → NRoot
-
def
fromBigInt(n: BigInt): Int
- Definition Classes
- Ring
-
def
fromInt(n: Int): Int
- Definition Classes
- IntIsEuclideanRing → Ring
-
def
gcd(a: Int, b: Int)(implicit ev: Eq[Int]): Int
- Definition Classes
- IntIsEuclideanRing → GCDRing
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
gt(x: Int, y: Int): Boolean
- Definition Classes
- IntOrder → Order → PartialOrder
-
def
gteqv(x: Int, y: Int): Boolean
- Definition Classes
- IntOrder → Order → PartialOrder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOne(a: Int)(implicit ev: Eq[Int]): Boolean
- Definition Classes
- MultiplicativeMonoid
-
def
isSignNegative(a: Int): Boolean
- Definition Classes
- Signed
-
def
isSignNonNegative(a: Int): Boolean
- Definition Classes
- Signed
-
def
isSignNonPositive(a: Int): Boolean
- Definition Classes
- Signed
-
def
isSignNonZero(a: Int): Boolean
- Definition Classes
- Signed
-
def
isSignPositive(a: Int): Boolean
- Definition Classes
- Signed
-
def
isSignZero(a: Int): Boolean
- Definition Classes
- Signed
-
def
isWhole(a: Int): Boolean
Returns
true
iffa
is a an integer.Returns
true
iffa
is a an integer.- Definition Classes
- IsIntegral → IsReal
-
def
isZero(a: Int)(implicit ev: Eq[Int]): Boolean
- Definition Classes
- AdditiveMonoid
-
def
lcm(a: Int, b: Int)(implicit ev: Eq[Int]): Int
- Definition Classes
- IntIsEuclideanRing → GCDRing
-
def
log(a: Int): Int
- Definition Classes
- IntIsNRoot
-
def
lt(x: Int, y: Int): Boolean
- Definition Classes
- IntOrder → Order → PartialOrder
-
def
lteqv(x: Int, y: Int): Boolean
- Definition Classes
- IntOrder → Order → PartialOrder
-
def
max(x: Int, y: Int): Int
- Definition Classes
- Order
-
def
min(x: Int, y: Int): Int
- Definition Classes
- Order
-
def
minus(a: Int, b: Int): Int
- Definition Classes
- IntIsEuclideanRing → AdditiveGroup
-
def
mod(a: Int, b: Int): Int
- Definition Classes
- IntIsEuclideanRing → EuclideanRing
-
def
multiplicative: CommutativeMonoid[Int]
- Definition Classes
- MultiplicativeCommutativeMonoid → MultiplicativeCommutativeSemigroup → MultiplicativeMonoid → MultiplicativeSemigroup
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
negate(a: Int): Int
- Definition Classes
- IntIsEuclideanRing → AdditiveGroup
-
def
neqv(x: Int, y: Int): Boolean
- Definition Classes
- IntOrder → Order → Eq
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
nroot(x: Int, n: Int): Int
- Definition Classes
- IntIsNRoot → NRoot
-
def
one: Int
- Definition Classes
- IntIsEuclideanRing → MultiplicativeMonoid
-
def
partialCompare(x: Int, y: Int): Double
- Definition Classes
- Order → PartialOrder
-
def
partialComparison(x: Int, y: Int): Option[Comparison]
- Definition Classes
- PartialOrder
-
def
plus(a: Int, b: Int): Int
- Definition Classes
- IntIsEuclideanRing → AdditiveSemigroup
-
def
pmax(x: Int, y: Int): Option[Int]
- Definition Classes
- PartialOrder
-
def
pmin(x: Int, y: Int): Option[Int]
- Definition Classes
- PartialOrder
-
def
positivePow(a: Int, n: Int): Int
- Attributes
- protected[this]
- Definition Classes
- MultiplicativeSemigroup
-
def
positiveSumN(a: Int, n: Int): Int
- Attributes
- protected[this]
- Definition Classes
- AdditiveSemigroup
-
def
pow(a: Int, b: Int): Int
- Definition Classes
- IntIsEuclideanRing → MultiplicativeMonoid → MultiplicativeSemigroup
-
def
product(as: TraversableOnce[Int]): Int
- Definition Classes
- MultiplicativeMonoid
-
def
quot(a: Int, b: Int): Int
- Definition Classes
- IntIsEuclideanRing → EuclideanRing
-
def
quotmod(a: Int, b: Int): (Int, Int)
- Definition Classes
- EuclideanRing
-
def
round(a: Int): Int
Rounds
a
to the nearest integer.Rounds
a
to the nearest integer.- Definition Classes
- IsIntegral → IsReal
-
def
sign(a: Int): Sign
Returns Zero if
a
is 0, Positive ifa
is positive, and Negative isa
is negative.Returns Zero if
a
is 0, Positive ifa
is positive, and Negative isa
is negative.- Definition Classes
- Signed
-
def
signum(a: Int): Int
Returns 0 if
a
is 0, 1 ifa
is positive, and -1 isa
is negative.Returns 0 if
a
is 0, 1 ifa
is positive, and -1 isa
is negative.- Definition Classes
- IntIsSigned → Signed
-
def
sqrt(a: Int): Int
- Definition Classes
- NRoot
-
def
sum(as: TraversableOnce[Int]): Int
- Definition Classes
- AdditiveMonoid
-
def
sumN(a: Int, n: Int): Int
- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(a: Int, b: Int): Int
- Definition Classes
- IntIsEuclideanRing → MultiplicativeSemigroup
-
def
toAlgebraic(a: Int): Algebraic
- Definition Classes
- IsRational → IsAlgebraic
-
def
toBigInt(n: Int): BigInt
- Definition Classes
- IntIsReal → IsIntegral
-
def
toDouble(n: Int): Double
Approximates
a
as aDouble
. -
def
toOrdering: Ordering[Int]
- Definition Classes
- Order
-
def
toRational(a: Int): Rational
- Definition Classes
- IsIntegral → IsRational
-
def
toReal(a: Int): Real
- Definition Classes
- IsAlgebraic → IsReal
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryCompare(x: Int, y: Int): Option[Int]
- Definition Classes
- PartialOrder
-
def
tryProduct(as: TraversableOnce[Int]): Option[Int]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
-
def
trySum(as: TraversableOnce[Int]): Option[Int]
- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
zero: Int
- Definition Classes
- IntIsEuclideanRing → AdditiveMonoid