Skip to content

APIs > ext > math > affine > Affine

Affine

struct Affine[T: SemiRing]

Methods

__init__

__init__(out self)

assign

assign(self, x: T) -> T
assign(self, o: Self) -> Self

__call__

__call__(self, x: T) -> T
__call__(self, o: Self) -> Self

__add__

__add__(self, o: Self) -> Self
__add__(self, b: T) -> Self

__mul__

__mul__(self, a: T) -> Self