RingModule

org.appliedtopology.tda4j.RingModule
trait RingModule

Specifies what it means for the type Self to be a module (or vector space) over the [Numeric] (ie ring-like) type R.

A minimal implementation of this trait will define zero, plus, scalarMultiply, and at least one of minus and negate

Type parameters

R

Type of the ring coefficients

Self

Type of the module elements.

Attributes

Experimental
true
Source
RingModule.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type R

Attributes

Source
RingModule.scala
type Self

Attributes

Source
RingModule.scala

Value members

Abstract methods

def plus(x: Self, y: Self): Self

Attributes

Source
RingModule.scala
def scalarMultiply(x: R, y: Self): Self

Attributes

Source
RingModule.scala
def zero: Self

Attributes

Source
RingModule.scala

Concrete methods

def isZero(t: Self): Boolean

Attributes

Source
RingModule.scala
def minus(x: Self, y: Self): Self

Attributes

Source
RingModule.scala
def negate(x: Self): Self

Attributes

Source
RingModule.scala

Extensions

Extensions

extension (r: R)
infix def scalarMultiply(t: Self): Self

Attributes

Source
RingModule.scala
def |*|(t: Self): Self

Attributes

Source
RingModule.scala
def ⊠(t: Self): Self

Attributes

Source
RingModule.scala
extension (t: Self)
def +(rhs: Self): Self

Attributes

Source
RingModule.scala
def -(rhs: Self): Self

Attributes

Source
RingModule.scala
def <*(rhs: R): Self

Attributes

Source
RingModule.scala
infix def mul(rhs: R): Self

Attributes

Source
RingModule.scala
def unary_-: Self

Attributes

Source
RingModule.scala