klefki.algebra.rings.poly

Module Contents

Classes

PolyRing

RING is a setRwhich is CLOSED under two operations+and×andsatisfying the following properties:

class klefki.algebra.rings.poly.PolyRing(*args)

Bases: klefki.algebra.abstract.Ring

RING is a setRwhich is CLOSED under two operations+and×andsatisfying the following properties: (1) R is an abelian group under+. (2)Associativity of × For every a,b,c∈R,a×(b×c) = (a×b)×c (3)Distributive Properties – For everya,b,c∈Rthe following identities hold: a×(b+c) = (a×b) + (a×c)and(b+c)×a=b×a+c×a

from_list(self, o: list)
from_int(self, o: int)
from_tuple(self, o: tuple)
from_PolyExtField(self, o)
property degree(self)
op(self, rhs: Ring)

The Operator for obeying axiom associativity (2)

inverse(self)

Implement for axiom inverse

sec_op(self, rhs: Ring)

The Operator for obeying axiom associativity (2)

div(self, rhs: Ring)
mod(self, rhs: Ring)
classmethod identity(cls)

The value for obeying axiom identity (3)

__floordiv__(self, rhs: Ring)
__iter__(self)
__getitem__(self, i)
classmethod singleton(cls, point_loc, height, total_pts)
classmethod lagrange_interp(cls, vec)
__call__(self, x)