FiniteMonoid

org.appliedtopology.tda4j.sset.FiniteMonoid
See theFiniteMonoid companion object
open class FiniteMonoid(val table: Array[Array[Int]], val names: IndexedSeq[String])

A finite group as a multiplication table on the elements 0 until order, with 0 the identity.

Deliberately the dumbest possible representation: the nerve construction (ClassifyingSpace) only ever multiplies and asks "is this the identity?", and a table makes both an array lookup. Fine up to a few hundred elements (S_5 has 120: a 14,400-entry table).

Attributes

Companion
object
Experimental
true
Source
FiniteGroup.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FiniteGroup

Members list

Value members

Concrete methods

def identity: Int

Attributes

Source
FiniteGroup.scala
def multiply(a: Int, b: Int): Int

Attributes

Source
FiniteGroup.scala
def order: Int

Attributes

Source
FiniteGroup.scala
def validateMonoid(): Seq[String]

Checks shape, range, identity and associativity; the empty list means the table really is a monoid.

Checks shape, range, identity and associativity; the empty list means the table really is a monoid.

Attributes

Source
FiniteGroup.scala

Concrete fields

val names: IndexedSeq[String]

Attributes

Source
FiniteGroup.scala
val table: Array[Array[Int]]

Attributes

Source
FiniteGroup.scala