implicit object scalarField extends Field[Long]
This is not really a field; but we could pretend that it is (consider them as real numbers).
- Definition Classes
- DurationStructure → VectorSpace
- Alphabetic
- By Inheritance
- scalarField
- Field
- MultiplicativeCGroup
- MultiplicativeGroup
- CRing
- CSemiring
- MultiplicativeCMonoid
- MultiplicativeCSemigroup
- Ring
- AdditiveCGroup
- AdditiveGroup
- Semiring
- MultiplicativeMonoid
- HasOne
- MultiplicativeSemigroup
- AdditiveCMonoid
- AdditiveCSemigroup
- AdditiveMonoid
- HasZero
- AdditiveSemigroup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
add(x: Long, y: Long): Long
The
+
operation of this semigroup.The
+
operation of this semigroup.- Definition Classes
- scalarField → AdditiveSemigroup
-
def
asGroupWithAdd: CGroup[Long]
Casts this object to a symbol-agnostic group with the group operation
+
.Casts this object to a symbol-agnostic group with the group operation
+
.- Definition Classes
- AdditiveCGroup → AdditiveGroup
-
def
asGroupWithMul: CGroup[Long]
- Definition Classes
- MultiplicativeCGroup → MultiplicativeGroup
-
def
asIdentityWithOne: HasIdentity[Long]
Casts this object to a
HasIdentity
with identity1
.Casts this object to a
HasIdentity
with identity1
.- Definition Classes
- HasOne
-
def
asIdentityWithZero: HasIdentity[Long]
Casts this object to a
HasIdentity
with identity0
.Casts this object to a
HasIdentity
with identity0
.- Definition Classes
- HasZero
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asMonoidWithAdd: CMonoid[Long]
Casts this object as a symbol-agnostic monoid with the operation
+
.Casts this object as a symbol-agnostic monoid with the operation
+
.- Definition Classes
- AdditiveCMonoid → AdditiveMonoid
-
def
asMonoidWithMul: CMonoid[Long]
- Definition Classes
- MultiplicativeCMonoid → MultiplicativeMonoid
-
def
asSemigroupWithAdd: CSemigroup[Long]
Casts this structure as a symbol-agnostic semigroup.
Casts this structure as a symbol-agnostic semigroup.
- Definition Classes
- AdditiveCSemigroup → AdditiveSemigroup
-
def
asSemigroupWithMul: CSemigroup[Long]
Casts this structure as a symbol-agnostic semigroup.
Casts this structure as a symbol-agnostic semigroup.
- Definition Classes
- MultiplicativeCSemigroup → MultiplicativeSemigroup
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
div(x: Long, y: Long): Long
- Definition Classes
- scalarField → MultiplicativeGroup
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
half: Long
Returns the 1/2 element in this field.
Returns the 1/2 element in this field.
- Definition Classes
- Field
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
inv(x: Long): Long
- Definition Classes
- scalarField → MultiplicativeGroup
-
def
ipow(x: Long, n: Int): Long
Computes the product x * x * ··· * x with x repeated for n times.
Computes the product x * x * ··· * x with x repeated for n times.
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mul(x: Long, y: Long): Long
Returns the product of two elements.
Returns the product of two elements.
- Definition Classes
- scalarField → MultiplicativeSemigroup
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
neg(x: Long): Long
Returns the negation (additive inverse) of an element.
Returns the negation (additive inverse) of an element.
- Definition Classes
- scalarField → AdditiveGroup
-
def
negOne: Long
Returns the -1 element in this ring.
Returns the -1 element in this ring.
- Definition Classes
- Ring
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
val
one: Long
- Definition Classes
- scalarField → HasOne
-
def
product[Y](that: Semiring[Y]): Semiring[(Long, Y)]
- Definition Classes
- Semiring
-
def
sub(x: Long, y: Long): Long
Returns the difference of two elements.
Returns the difference of two elements.
- Definition Classes
- scalarField → AdditiveGroup
-
def
sumN(x: Long, n: Int): Long
Computes the sum x + x + ··· + x with x repeated for n times.
Computes the sum x + x + ··· + x with x repeated for n times.
- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
two: Long
Returns the 2 element in this semiring.
Returns the 2 element in this semiring.
- Definition Classes
- Semiring
-
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( ... )
-
final
val
zero: Long
- Definition Classes
- scalarField → HasZero