spire
.
algebra
.
free
FreeGroup
final
class
FreeGroup
[
A
]
extends
AnyVal
Self Type
FreeGroup
[
A
]
Linear Supertypes
AnyVal
,
Any
Ordering
Alphabetic
By inheritance
Inherited
FreeGroup
AnyVal
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
def
inverse
:
FreeGroup
[
A
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
run
[
B
]
(
f: (
A
) ⇒
B
)
(
implicit
B:
Group
[
B
]
)
:
B
Map each term to type
B
and sum them using
B
's
Group
.
val
terms
:
Vector
[
Either
[
A
,
A
]]
def
toString
()
:
String
Definition Classes
FreeGroup
→ Any
def
|+|
(
rhs:
FreeGroup
[
A
]
)
:
FreeGroup
[
A
]
def
|-|
(
rhs:
FreeGroup
[
A
]
)
:
FreeGroup
[
A
]
Inherited from
AnyVal
Inherited from
Any
Ungrouped