Goban::ECC::GFPoly
Inherits Indexable::Mutable / Indexable / Enumerable / Iterable / Struct / Value / Object
Constructors
new(data : Slice(UInt8), truncate = true)
SourceClass methods
build_mono(degree : Int, coeff : UInt8)
Sourceone
Sourcezero
SourceInstance methods
add_or_sub(other : Indexable(UInt8))
Sourcedata
Sourcedegree
Sourcediv(other : Indexable(UInt8))
Sourcediv2(other : Indexable(UInt8))
Sourceeval(x : Int)
Sourceget_coeff(degree : Int)
Sourceis_zero?
Sourcemul(other : Indexable(UInt8))
Sourcescale(x : Int)
Sourcesize(*args, **options)
Sourcesize(*args, **options, &)
Sourceunsafe_fetch(*args, **options)
Sourceunsafe_fetch(*args, **options, &)
Sourceunsafe_put(*args, **options)
Sourceunsafe_put(*args, **options, &)
Source