Documentation ¶
Index ¶
- Constants
- func ArrayToLittleEndianBytes(e []Element) []byte
- func Equals(a, b *Element) bool
- func Modulus() uint64
- func ToLittleEndianBytes(e ...Element) []byte
- func ToString(e ...Element) string
- type Element
- func Add(elems ...Element) Element
- func ArrayFromCanonicalLittleEndianBytes(in []byte) ([]Element, error)
- func DeepCopy(source *Element) Element
- func FromBool(value bool) Element
- func FromCanonicalLittleEndianBytes(in []byte) (*Element, error)
- func FromInt64(value int64) Element
- func FromInt64Abs(value int64) Element
- func FromUint32(value uint32) Element
- func FromUint64(value uint64) Element
- func Mul(elems ...*Element) Element
- func Neg(e Element) Element
- func NegOne() *Element
- func One() Element
- func Powers(e *Element, count int) []Element
- func RandArray(count int) []Element
- func Sample() Element
- func Sqrt(elem *Element) *Element
- func Sub(a, b *Element) Element
- func Zero() Element
Constants ¶
View Source
const Bytes = 8
Variables ¶
This section is empty.
Functions ¶
func ToLittleEndianBytes ¶
Types ¶
type Element ¶
func FromInt64Abs ¶
func FromUint32 ¶
func FromUint64 ¶
Click to show internal directories.
Click to hide internal directories.