struct
Goban::ECC::GFPoly
- Goban::ECC::GFPoly
- Struct
- Value
- Object
Included Modules
- Indexable::Mutable(UInt8)
Defined in:
goban/ecc/gfpoly.crConstructors
Class Method Summary
Instance Method Summary
- #add_or_sub(other : Indexable(UInt8))
- #data : Slice(UInt8)
- #degree
-
#divmod(other : Indexable(UInt8))
Polynomial long division.
- #eval(x : Int)
- #get_coeff(degree : Int)
- #is_zero?
- #mul(other : Indexable(UInt8))
- #scale(x : Int)
- #size(*args, **options)
- #size(*args, **options, &)
- #unsafe_fetch(*args, **options)
- #unsafe_fetch(*args, **options, &)
- #unsafe_put(*args, **options)
- #unsafe_put(*args, **options, &)
Constructor Detail
Class Method Detail
Instance Method Detail
def divmod(other : Indexable(UInt8))
#
Polynomial long division. Returns {quotient, remainder} such that
self == quotient * other + remainder.