trait DspRealIsReal extends IsReal[DspReal] with DspRealOrder with DspRealSigned with hasContext
- Alphabetic
- By Inheritance
- DspRealIsReal
- DspRealSigned
- DspRealRing
- Ring
- Ring
- Rng
- AdditiveCommutativeGroup
- AdditiveGroup
- Rig
- MultiplicativeMonoid
- Semiring
- MultiplicativeSemigroup
- AdditiveCommutativeMonoid
- AdditiveCommutativeSemigroup
- AdditiveMonoid
- AdditiveSemigroup
- Serializable
- DspRealOrder
- hasContext
- IsReal
- Signed
- Order
- PartialOrder
- Eq
- Any
- Hide All
- Show All
- Public
- Protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def abs(a: DspReal): DspReal
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
- DspRealSigned → Signed
- def additive: CommutativeGroup[DspReal]
- Definition Classes
- AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ceil(a: DspReal): DspReal
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
- DspRealIsReal → IsReal
- def compare(x: DspReal, y: DspReal): ComparisonBundle
- Definition Classes
- DspRealOrder → Order
- def context: DspContext
- Definition Classes
- hasContext
- def context_abs(a: DspReal): DspReal
- Definition Classes
- DspRealSigned → Signed
- def context_ceil(a: DspReal): DspReal
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- def eqv(x: DspReal, y: DspReal): Bool
Returns
true
ifx
andy
are equivalent,false
otherwise.Returns
true
ifx
andy
are equivalent,false
otherwise.- Definition Classes
- DspRealOrder → Order → PartialOrder → Eq
- def floor(a: DspReal): DspReal
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
- DspRealIsReal → IsReal
- def fromBigInt(n: BigInt): DspReal
- Definition Classes
- Ring
- def fromInt(n: Int): DspReal
- Definition Classes
- Ring
- def gt(x: DspReal, y: DspReal): Bool
- Definition Classes
- DspRealOrder → Order → PartialOrder
- def gteqv(x: DspReal, y: DspReal): Bool
- Definition Classes
- DspRealOrder → Order → PartialOrder
- def hashCode(): Int
- Definition Classes
- Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOne(a: DspReal)(implicit ev: algebra.Eq[DspReal]): Boolean
- Definition Classes
- MultiplicativeMonoid
- def isSignNegative(a: DspReal): Bool
- Definition Classes
- DspRealSigned → Signed
- def isSignNonNegative(a: DspReal): Bool
- Definition Classes
- Signed
- def isSignNonPositive(a: DspReal): Bool
- Definition Classes
- Signed
- def isSignNonZero(a: DspReal): Bool
- Definition Classes
- Signed
- def isSignPositive(a: DspReal): Bool
- Definition Classes
- Signed
- def isSignZero(a: DspReal): Bool
- Definition Classes
- DspRealSigned → Signed
- def isWhole(a: DspReal): Bool
Returns
true
iffa
is a an integer.Returns
true
iffa
is a an integer.- Definition Classes
- DspRealIsReal → IsReal
- def isZero(a: DspReal)(implicit ev: algebra.Eq[DspReal]): Boolean
- Definition Classes
- AdditiveMonoid
- def lt(x: DspReal, y: DspReal): Bool
- Definition Classes
- DspRealOrder → Order → PartialOrder
- def lteqv(x: DspReal, y: DspReal): Bool
- Definition Classes
- DspRealOrder → Order → PartialOrder
- def max(x: DspReal, y: DspReal): DspReal
- Definition Classes
- Order
- def min(x: DspReal, y: DspReal): DspReal
- Definition Classes
- Order
- def minus(f: DspReal, g: DspReal): DspReal
- Definition Classes
- DspRealRing → AdditiveGroup
- def minusContext(f: DspReal, g: DspReal): DspReal
- Definition Classes
- DspRealRing → Ring
- def multiplicative: Monoid[DspReal]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def negate(f: DspReal): DspReal
- Definition Classes
- DspRealRing → AdditiveGroup
- def negateContext(f: DspReal): DspReal
- Definition Classes
- DspRealRing → Ring
- def neqv(x: DspReal, y: DspReal): Bool
Returns
false
ifx
andy
are equivalent,true
otherwise.Returns
false
ifx
andy
are equivalent,true
otherwise.- Definition Classes
- DspRealOrder → Eq
- def on[B <: Data](f: (B) => DspReal): Order[B]
Defines an order on
B
by mappingB
toA
usingf
and usingA
s order to orderB
.Defines an order on
B
by mappingB
toA
usingf
and usingA
s order to orderB
.- Definition Classes
- Order → PartialOrder → Eq
- def one: DspReal
- Definition Classes
- DspRealRing → MultiplicativeMonoid
- def partialCompare(x: DspReal, y: DspReal): ValidIO[ComparisonBundle]
Result of comparing
x
withy
.Result of comparing
x
withy
. Returns ValidIO[ComparisonBundle] withvalid
false if operands are not comparable. If operands are comparable,bits.lt
will be true ifx
<y
andbits.eq
will be true ifx
=y
- Definition Classes
- Order → PartialOrder
- def plus(f: DspReal, g: DspReal): DspReal
- Definition Classes
- DspRealRing → AdditiveSemigroup
- def plusContext(f: DspReal, g: DspReal): DspReal
- Definition Classes
- DspRealRing → Ring
- def pmax(x: DspReal, y: DspReal): ValidIO[DspReal]
Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.
Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.
- Definition Classes
- PartialOrder
- def pmin(x: DspReal, y: DspReal): ValidIO[DspReal]
Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.
Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.
- Definition Classes
- PartialOrder
- def positivePow(a: DspReal, n: Int): DspReal
- Attributes
- protected[this]
- Definition Classes
- MultiplicativeSemigroup
- def positiveSumN(a: DspReal, n: Int): DspReal
- Attributes
- protected[this]
- Definition Classes
- AdditiveSemigroup
- def pow(a: DspReal, n: Int): DspReal
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def product(as: TraversableOnce[DspReal]): DspReal
- Definition Classes
- MultiplicativeMonoid
- def reverse: Order[DspReal]
Defines an ordering on
A
where all arrows switch direction.Defines an ordering on
A
where all arrows switch direction.- Definition Classes
- Order → PartialOrder
- def round(a: DspReal): DspReal
Rounds
a
to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e.Rounds
a
to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e. round half up)- Definition Classes
- DspRealIsReal → IsReal
- def sign(a: DspReal): 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: DspReal): ComparisonBundle
Returns 0 if
a
is 0, > 0 ifa
is positive, and < 0 isa
is negative.Returns 0 if
a
is 0, > 0 ifa
is positive, and < 0 isa
is negative.- Definition Classes
- DspRealSigned → Signed
- def sum(as: TraversableOnce[DspReal]): DspReal
- Definition Classes
- AdditiveMonoid
- def sumN(a: DspReal, n: Int): DspReal
- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
- def times(f: DspReal, g: DspReal): DspReal
- Definition Classes
- DspRealRing → MultiplicativeSemigroup
- def timesContext(f: DspReal, g: DspReal): DspReal
- Definition Classes
- DspRealRing → Ring
- def toString(): String
- Definition Classes
- Any
- def truncate(a: DspReal): DspReal
- Definition Classes
- DspRealIsReal → IsReal
- def tryProduct(as: TraversableOnce[DspReal]): Option[DspReal]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def trySum(as: TraversableOnce[DspReal]): Option[DspReal]
- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
- def zero: DspReal
- Definition Classes
- DspRealRing → AdditiveMonoid