com.alecdorrington.scalgebra.arithmetic
Members list
Type members
Classlikes
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Additive inverse (negation)
Attributes
- Note
-
Laws, in addition to those inherited:
- Inversion:
x + -x == -x + x == zero.
- Inversion:
- Supertypes
-
trait AdditiveInverse[X]trait DifferenceMonoid[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait DifferenceSemigroup[X]trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Additive identity (
0)
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait AdditiveMonoid[X]trait DifferenceMonoid[X]trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]trait Semiring[X]trait QuotientSemiring[X]trait Semifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedAdditiveMonoid[X]trait ArchimedeanAdditiveMonoid[X]trait OrderedAdditiveIdentity[X]trait ArchimedeanAdditiveIdentity[X]Show all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AdditiveIdentity.type
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Additive inverse (negation)
Attributes
- Note
-
Laws, in addition to those inherited:
- Involution:
-(-x) == x.
- Involution:
- Supertypes
- Known subtypes
-
trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait OrderedAdditiveInverse[X]trait ArchimedeanAdditiveInverse[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_NothingShow all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Addition
Attributes
- Supertypes
- Known subtypes
-
trait AdditiveSemigroup[X]trait AdditiveMonoid[X]trait DifferenceMonoid[X]trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]trait Semiring[X]trait QuotientSemiring[X]trait Semifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedAdditiveMonoid[X]trait ArchimedeanAdditiveMonoid[X]trait DifferenceSemigroup[X]trait OrderedDifferenceSemigroup[X]trait ArchimedeanDifferenceSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_Nothingtrait OrderedAdditiveSemigroup[X]trait ArchimedeanAdditiveSemigroup[X]trait OrderedAdditiveMagma[X]trait ArchimedeanAdditiveMagma[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0)
Attributes
- Note
-
Laws, in addition to those inherited:
- Identity:
x + zero == zero + x == x.
- Identity:
- Supertypes
-
trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait DifferenceMonoid[X]trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]trait Semiring[X]trait QuotientSemiring[X]trait Semifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedAdditiveMonoid[X]trait ArchimedeanAdditiveMonoid[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
Attributes
- Note
-
Laws, in addition to those inherited:
- Associativity:
(x + y) + z == x + (y + z).
- Associativity:
- Supertypes
- Known subtypes
-
trait AdditiveMonoid[X]trait DifferenceMonoid[X]trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]trait Semiring[X]trait QuotientSemiring[X]trait Semifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedAdditiveMonoid[X]trait ArchimedeanAdditiveMonoid[X]trait DifferenceSemigroup[X]trait OrderedDifferenceSemigroup[X]trait ArchimedeanDifferenceSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_Nothingtrait OrderedAdditiveSemigroup[X]trait ArchimedeanAdditiveSemigroup[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Subtraction
Attributes
- Supertypes
- Known subtypes
-
trait DifferenceSemigroup[X]trait DifferenceMonoid[X]trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]trait OrderedDifferenceSemigroup[X]trait ArchimedeanDifferenceSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_Nothingtrait OrderedDifference[X]trait ArchimedeanDifference[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Subtraction
Attributes
- Supertypes
-
trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait DifferenceSemigroup[X]trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Subtraction
- Associative multiplication
- Multiplicative identity (
1) - Multiplicative inverse (reciprocation)
Attributes
- Supertypes
-
trait Semifield[X]trait MultiplicativeGroup[X]trait MultiplicativeInverse[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemiring[X]trait DifferenceMonoid[X]trait DifferenceSemigroup[X]trait Difference[X]trait QuotientSemiring[X]trait QuotientMonoid[X]trait QuotientSemigroup[X]trait Quotient[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Subtraction
Attributes
- Note
-
Laws, in addition to those inherited:
- Cancellation:
(x + y) - y == x.
- Cancellation:
- Supertypes
-
trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait DifferenceMonoid[X]trait AdditiveGroup[X]trait Pseudoring[X]trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait OrderedAdditiveGroup[X]trait ArchimedeanAdditiveGroup[X]trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedDifferenceMonoid[X]trait ArchimedeanDifferenceMonoid[X]trait OrderedDifferenceSemigroup[X]trait ArchimedeanDifferenceSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_NothingShow all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Subtraction
- Associative multiplication
- Multiplicative identity (
1)
Attributes
- Supertypes
-
trait DifferenceMonoid[X]trait DifferenceSemigroup[X]trait Difference[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait Ring[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Additive inverse (negation)
- Associative multiplication
- Multiplicative identity (
1) - Multiplicative inverse (reciprocation)
Attributes
- Supertypes
-
trait DifferenceSemifield[X]trait Semifield[X]trait MultiplicativeGroup[X]trait MultiplicativeInverse[X]trait QuotientRing[X]trait QuotientDifferenceSemiring[X]trait QuotientSemiring[X]trait QuotientMonoid[X]trait QuotientSemigroup[X]trait Quotient[X]trait Ring[X]trait DifferenceSemiring[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait Pseudoring[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveGroup[X]trait AdditiveInverse[X]trait DifferenceMonoid[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait DifferenceSemigroup[X]trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative multiplication
- Multiplicative identity (
1) - Multiplicative inverse (reciprocation)
Attributes
- Note
-
Laws, in addition to those inherited:
- Inversion:
x × x.reciprocal == x.reciprocal × x == one, whenever the reciprocal is defined.
- Inversion:
- Supertypes
-
trait MultiplicativeInverse[X]trait QuotientMonoid[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait QuotientSemigroup[X]trait Quotient[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]Show all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Multiplicative identity (
1)
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait MultiplicativeMonoid[X]trait QuotientMonoid[X]trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]trait Semiring[X]trait DifferenceSemiring[X]trait Ring[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedMultiplicativeMonoid[X]trait ArchimedeanMultiplicativeMonoid[X]trait OrderedMultiplicativeIdentity[X]trait ArchimedeanMultiplicativeIdentity[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Multiplicative inverse (reciprocation)
Attributes
- Note
-
Laws, in addition to those inherited:
- Involution:
x.reciprocal.reciprocal == x.
- Involution:
- Supertypes
- Known subtypes
-
trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait OrderedMultiplicativeInverse[X]trait ArchimedeanMultiplicativeInverse[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_NothingShow all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Multiplication
Attributes
- Supertypes
- Known subtypes
-
trait MultiplicativeSemigroup[X]trait MultiplicativeMonoid[X]trait QuotientMonoid[X]trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]trait Semiring[X]trait DifferenceSemiring[X]trait Ring[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedMultiplicativeMonoid[X]trait ArchimedeanMultiplicativeMonoid[X]trait Pseudoring[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait QuotientSemigroup[X]trait OrderedQuotientSemigroup[X]trait ArchimedeanQuotientSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_Nothingtrait OrderedMultiplicativeSemigroup[X]trait ArchimedeanMultiplicativeSemigroup[X]trait OrderedMultiplicativeMagma[X]trait ArchimedeanMultiplicativeMagma[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative multiplication
- Multiplicative identity (
1)
Attributes
- Note
-
Laws, in addition to those inherited:
- Identity:
x × one == one × x == x.
- Identity:
- Supertypes
-
trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait QuotientMonoid[X]trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]trait Semiring[X]trait DifferenceSemiring[X]trait Ring[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedMultiplicativeMonoid[X]trait ArchimedeanMultiplicativeMonoid[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative multiplication
Attributes
- Note
-
Laws, in addition to those inherited:
- Associativity:
(x × y) × z == x × (y × z).
- Associativity:
- Supertypes
- Known subtypes
-
trait MultiplicativeMonoid[X]trait QuotientMonoid[X]trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]trait Semiring[X]trait DifferenceSemiring[X]trait Ring[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]trait OrderedMultiplicativeMonoid[X]trait ArchimedeanMultiplicativeMonoid[X]trait Pseudoring[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]trait QuotientSemigroup[X]trait OrderedQuotientSemigroup[X]trait ArchimedeanQuotientSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_Nothingtrait OrderedMultiplicativeSemigroup[X]trait ArchimedeanMultiplicativeSemigroup[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Additive inverse (negation)
- Associative multiplication
Attributes
- Note
-
Laws, in addition to those inherited:
- Commutativity:
x + y == y + x. - Distributivity:
x × (y + z) == (x × y) + (x × z)and(x + y) × z == (x × z) + (y × z).
- Commutativity:
- Supertypes
-
trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveGroup[X]trait AdditiveInverse[X]trait DifferenceMonoid[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait DifferenceSemigroup[X]trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Ring[X]trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedPseudoring[X]trait ArchimedeanPseudoring[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Division
Attributes
- Supertypes
- Known subtypes
-
trait QuotientSemigroup[X]trait QuotientMonoid[X]trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]trait OrderedQuotientSemigroup[X]trait ArchimedeanQuotientSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_Nothingtrait OrderedQuotient[X]trait ArchimedeanQuotient[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Subtraction
- Associative multiplication
- Multiplicative identity (
1) - Division
Attributes
- Supertypes
-
trait DifferenceSemiring[X]trait DifferenceMonoid[X]trait DifferenceSemigroup[X]trait Difference[X]trait QuotientSemiring[X]trait QuotientMonoid[X]trait QuotientSemigroup[X]trait Quotient[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative multiplication
- Multiplicative identity (
1) - Division
Attributes
- Supertypes
-
trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait QuotientSemigroup[X]trait Quotient[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Additive inverse (negation)
- Associative multiplication
- Multiplicative identity (
1) - Division
Attributes
- Supertypes
-
trait QuotientDifferenceSemiring[X]trait QuotientSemiring[X]trait QuotientMonoid[X]trait QuotientSemigroup[X]trait Quotient[X]trait Ring[X]trait DifferenceSemiring[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait Pseudoring[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveGroup[X]trait AdditiveInverse[X]trait DifferenceMonoid[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait DifferenceSemigroup[X]trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative multiplication
- Division
Attributes
- Note
-
Laws, in addition to those inherited:
- Cancellation:
(x × y) / y == x, whenever the division is defined.
- Cancellation:
- Supertypes
-
trait Quotient[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait QuotientMonoid[X]trait MultiplicativeGroup[X]trait Semifield[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedMultiplicativeGroup[X]trait ArchimedeanMultiplicativeGroup[X]trait QuotientSemiring[X]trait QuotientDifferenceSemiring[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedQuotientMonoid[X]trait ArchimedeanQuotientMonoid[X]trait OrderedQuotientSemigroup[X]trait ArchimedeanQuotientSemigroup[X]object NothingIsIdentityFreeAlgebra.this.given_OrderedDifferenceSemigroup_Nothing_OrderedQuotientSemigroup_Nothing_OrderedAdditiveInverse_Nothing_OrderedMultiplicativeInverse_NothingShow all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Associative multiplication
- Multiplicative identity (
1) - Division
Attributes
- Supertypes
-
trait QuotientMonoid[X]trait QuotientSemigroup[X]trait Quotient[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait Semifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Additive inverse (negation)
- Associative multiplication
- Multiplicative identity (
1)
Attributes
- Supertypes
-
trait DifferenceSemiring[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait Pseudoring[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveGroup[X]trait AdditiveInverse[X]trait DifferenceMonoid[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait DifferenceSemigroup[X]trait Difference[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait QuotientRing[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedRing[X]trait ArchimedeanRing[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Associative multiplication
- Multiplicative identity (
1) - Multiplicative inverse (reciprocation)
Attributes
- Supertypes
-
trait MultiplicativeGroup[X]trait MultiplicativeInverse[X]trait QuotientSemiring[X]trait QuotientMonoid[X]trait QuotientSemigroup[X]trait Quotient[X]trait Semiring[X]trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]Show all
A typeclass for algebraic values with the following features:
A typeclass for algebraic values with the following features:
- Associative addition
- Additive identity (
0) - Associative multiplication
- Multiplicative identity (
1)
Attributes
- Note
-
Laws, in addition to those inherited:
- Commutativity:
x + y == y + x. - Distributivity:
x × (y + z) == (x × y) + (x × z)and(x + y) × z == (x × z) + (y × z). - Annihilation:
x × zero == zero × x == zero.
- Commutativity:
- Companion
- object
- Supertypes
-
trait MultiplicativeMonoid[X]trait MultiplicativeIdentity[X]trait MultiplicativeSemigroup[X]trait MultiplicativeMagma[X]trait AdditiveMonoid[X]trait AdditiveIdentity[X]trait AdditiveSemigroup[X]trait AdditiveMagma[X]trait Algebra[X]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait DifferenceSemiring[X]trait QuotientDifferenceSemiring[X]trait DifferenceSemifield[X]trait Field[X]trait OrderedField[X]trait ArchimedeanField[X]trait OrderedDifferenceSemifield[X]trait ArchimedeanDifferenceSemifield[X]trait QuotientRing[X]trait OrderedQuotientRing[X]trait ArchimedeanQuotientRing[X]trait OrderedQuotientDifferenceSemiring[X]trait Ring[X]trait OrderedRing[X]trait ArchimedeanRing[X]trait OrderedDifferenceSemiring[X]trait ArchimedeanDifferenceSemiring[X]trait QuotientSemiring[X]trait Semifield[X]trait OrderedSemifield[X]trait ArchimedeanSemifield[X]trait OrderedQuotientSemiring[X]trait ArchimedeanQuotientSemiring[X]trait OrderedSemiring[X]trait ArchimedeanSemiring[X]Show all