Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RingOperators<T, UNIT>

A ring is an abelian group with a second binary operation that is associative, is distributive over the abelian group operation and has an identity element.

Type parameters

  • T

  • UNIT

Hierarchy

Implemented by

Index

Methods

__add__

  • __add__(other: UNIT | T): T

__mul__

  • __mul__(rhs: any): T

__neg__

  • __neg__(): T

__pos__

  • __pos__(): T

__radd__

  • __radd__(other: UNIT | T): T

__rmul__

  • __rmul__(lhs: any): T

__rsub__

  • __rsub__(other: UNIT | T): T

__sub__

  • __sub__(other: UNIT | T): T

inv

  • inv(): T

isOne

  • isOne(): boolean

isZero

  • isZero(): boolean

neg

  • neg(): T