Versions in this module Expand all Collapse all v0 v0.1.1 Feb 18, 2022 Changes in this version type Element + func (a *Element) AsBits() uint v0.1.0 May 26, 2021 Changes in this version + type Element struct + func (a *Element) Add(b ff.Element) ff.Element + func (a *Element) Copy() ff.Element + func (a *Element) Equal(b ff.Element) bool + func (a *Element) Err() error + func (a *Element) Inv() ff.Element + func (a *Element) IsNonzero() bool + func (a *Element) IsOne() bool + func (a *Element) IsZero() bool + func (a *Element) Minus(b ff.Element) ff.Element + func (a *Element) Mult(b ff.Element) ff.Element + func (a *Element) NTerms() uint + func (a *Element) Neg() ff.Element + func (a *Element) Plus(b ff.Element) ff.Element + func (a *Element) Pow(n uint) ff.Element + func (a *Element) Prod(b, c ff.Element) ff.Element + func (a *Element) SetNeg() ff.Element + func (a *Element) SetUnsigned(val uint) ff.Element + func (a *Element) String() string + func (a *Element) Sub(b ff.Element) ff.Element + func (a *Element) Times(b ff.Element) ff.Element + type Field struct + func Define(card uint) (*Field, error) + func (f *Field) Card() uint + func (f *Field) Char() uint + func (f *Field) Element(val interface{}) (ff.Element, error) + func (f *Field) ElementFromBits(val uint) ff.Element + func (f *Field) ElementFromSigned(val int) ff.Element + func (f *Field) ElementFromString(s string) (ff.Element, error) + func (f *Field) ElementFromUnsigned(val uint) ff.Element + func (f *Field) Elements() []ff.Element + func (f *Field) MultGenerator() ff.Element + func (f *Field) One() ff.Element + func (f *Field) RandElement() ff.Element + func (f *Field) RegexElement(requireParens bool) string + func (f *Field) SetVarName(varName string) error + func (f *Field) String() string + func (f *Field) VarName() string + func (f *Field) Zero() ff.Element