struct Goban::ECC::GFPoly

Included Modules

Defined in:

goban/ecc/gfpoly.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8), truncate = true) #

Class Method Detail

def self.build_mono(degree : Int, coeff : UInt8) #

def self.one #

def self.zero #

Instance Method Detail

def add_or_sub(other : Indexable(UInt8)) #

def data : Slice(UInt8) #

def degree #

def div(other : Indexable(UInt8)) #

def div2(other : Indexable(UInt8)) #

def eval(x : Int) #

def get_coeff(degree : Int) #

def is_zero? #

def mul(other : Indexable(UInt8)) #

def scale(x : Int) #

def size(*args, **options) #

def size(*args, **options, &) #

def unsafe_fetch(*args, **options) #

def unsafe_fetch(*args, **options, &) #

def unsafe_put(*args, **options) #

def unsafe_put(*args, **options, &) #