Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + const PRECISION + func CommonPrefix(sep byte, paths ...string) string + func ToPath(f *Fraction) string + func ToPathUint(f *Fraction) []uint64 + type Float struct + func NewFloat() *Float + func (f *Float) Nat() Nat + type Fraction struct + func NewFraction(n *big.Int, d *big.Int) *Fraction + func NewFractionFromMaterializedPath(path ...uint64) *Fraction + func (f Fraction) Decimal() *big.Rat + func (f Fraction) Den() *big.Int + func (f Fraction) Num() *big.Int + type MPath []uint64 + func NewMPath(mpath ...uint64) MPath + func NewMPathFromMPath(b MPath) MPath + func (m MPath) Hash() uint32 + func (m MPath) Index() uint64 + func (m MPath) Parent() MPath + func (m MPath) Parents() []MPath + func (m MPath) Rat() *Rat + func (m MPath) Sibling() MPath + func (m MPath) String() string + type MPathProvider interface + type Matrix [][]*big.Int + func MoveSubtree(p0 *Matrix, m *big.Int, p1 *Matrix, n *big.Int, M *Matrix) *Matrix + func NewMatrix(m00 *big.Int, m01 *big.Int, m10 *big.Int, m11 *big.Int) *Matrix + func (m Matrix) GetA11() *big.Int + func (m Matrix) GetA12() *big.Int + func (m Matrix) GetA21() *big.Int + func (m Matrix) GetA22() *big.Int + type Nat []big.Word + type Rat struct + func NewRat() *Rat + func (f *Rat) SetMPath(path ...uint64) *Rat + type TreeNode struct + Level int + MPath MPath + func NewTreeNode() *TreeNode + func (t *TreeNode) Bytes() []byte + func (t *TreeNode) DV() *big.Int + func (t *TreeNode) GetMeta(name string, value interface{}) + func (t *TreeNode) NV() *big.Int + func (t *TreeNode) Name() string + func (t *TreeNode) SDV() *big.Int + func (t *TreeNode) SNV() *big.Int + func (t *TreeNode) SetBytes(b []byte) + func (t *TreeNode) SetMPath(mpath ...uint64) + func (t *TreeNode) SetMeta(name string, value interface{}) + func (t *TreeNode) SetName(name string) + func (t *TreeNode) SetRat(rat *Rat) Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020