Versions in this module Expand all Collapse all v2 v2.0.0 Jul 18, 2024 Changes in this version + const Bits + const Bytes + const Limbs + var BigEndian bigEndian + var LittleEndian littleEndian + func Butterfly(a, b *Element) + func Modulus() *big.Int + func MulBy13(x *Element) + func MulBy3(x *Element) + func MulBy5(x *Element) + type ByteOrder interface + Element func(*[Bytes]byte) (Element, error) + PutElement func(*[Bytes]byte, Element) + String func() string + type Element [1]uint64 + func BatchInvert(a []Element) []Element + func Hash(msg, dst []byte, count int) ([]Element, error) + func NewElement(v uint64) Element + func One() Element + func (z *Element) Add(x, y *Element) *Element + func (z *Element) BigInt(res *big.Int) *big.Int + func (z *Element) BitLen() int + func (z *Element) Bits() [1]uint64 + func (z *Element) Bytes() (res [Bytes]byte) + func (z *Element) Cmp(x *Element) int + func (z *Element) Div(x, y *Element) *Element + func (z *Element) Double(x *Element) *Element + func (z *Element) Equal(x *Element) bool + func (z *Element) Exp(x Element, k *big.Int) *Element + func (z *Element) FitsOnOneWord() bool + func (z *Element) Halve() + func (z *Element) Inverse(x *Element) *Element + func (z *Element) IsOne() bool + func (z *Element) IsUint64() bool + func (z *Element) IsZero() bool + func (z *Element) Legendre() int + func (z *Element) LexicographicallyLargest() bool + func (z *Element) Marshal() []byte + func (z *Element) MarshalJSON() ([]byte, error) + func (z *Element) Mul(x, y *Element) *Element + func (z *Element) Neg(x *Element) *Element + func (z *Element) NotEqual(x *Element) uint64 + func (z *Element) Select(c int, x0 *Element, x1 *Element) *Element + func (z *Element) Set(x *Element) *Element + func (z *Element) SetBigInt(v *big.Int) *Element + func (z *Element) SetBytes(e []byte) *Element + func (z *Element) SetBytesCanonical(e []byte) error + func (z *Element) SetInt64(v int64) *Element + func (z *Element) SetInterface(i1 interface{}) (*Element, error) + func (z *Element) SetOne() *Element + func (z *Element) SetRandom() (*Element, error) + func (z *Element) SetString(number string) (*Element, error) + func (z *Element) SetUint64(v uint64) *Element + func (z *Element) SetZero() *Element + func (z *Element) Sqrt(x *Element) *Element + func (z *Element) Square(x *Element) *Element + func (z *Element) String() string + func (z *Element) Sub(x, y *Element) *Element + func (z *Element) Text(base int) string + func (z *Element) Uint64() uint64 + func (z *Element) Unmarshal(e []byte) + func (z *Element) UnmarshalJSON(data []byte) error + func (z Element) ToBigIntRegular(res *big.Int) *big.Int + type Vector []Element + func (vector *Vector) AsyncReadFrom(r io.Reader) (int64, error, chan error) + func (vector *Vector) MarshalBinary() (data []byte, err error) + func (vector *Vector) ReadFrom(r io.Reader) (int64, error) + func (vector *Vector) UnmarshalBinary(data []byte) error + func (vector *Vector) WriteTo(w io.Writer) (int64, error) + func (vector Vector) Len() int + func (vector Vector) Less(i, j int) bool + func (vector Vector) String() string + func (vector Vector) Swap(i, j int) Other modules containing this package github.com/danivilardell/gnark