Trait/Object

spire.algebra

Action

Related Docs: object Action | package algebra

Permalink

trait Action[P, G] extends LeftAction[P, G] with RightAction[P, G]

A semigroup/monoid/group action of G on P is the combination of compatible left and right actions, providing:

1. (g |+| h) |+|> p === g |+|> (h |+|> p) for all g, h in G and p in P.

2. id |+|> p === p for all p in P (if id is defined)

3. p <|+| (g |+| h) === (p <|+| g) <|+| h for all g, h in G and p in P.

4. p <|+| id === p for all p in P (if id is defined)

In addition, if G is a group, left and right actions are compatible:

5. g |+|> p === p <|+| g.inverse.

Linear Supertypes
RightAction[P, G], LeftAction[P, G], Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Action
  2. RightAction
  3. LeftAction
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def actl(g: G, p: P): P

    Permalink
    Definition Classes
    LeftAction
  2. abstract def actr(p: P, g: G): P

    Permalink
    Definition Classes
    RightAction
  3. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from RightAction[P, G]

Inherited from LeftAction[P, G]

Inherited from Any

Ungrouped