sum

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatRing

type FloatRing struct {
	Da  []byte
	Ns  []int64
	Vs  []float64
	Typ types.Type
}

func NewFloat

func NewFloat(typ types.Type) *FloatRing

func (*FloatRing) Add

func (r *FloatRing) Add(a interface{}, x, y int64)

func (*FloatRing) BatchAdd

func (r *FloatRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)

func (*FloatRing) BatchFill

func (r *FloatRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)

func (*FloatRing) BulkFill

func (r *FloatRing) BulkFill(i int64, zs []int64, vec *vector.Vector)

func (*FloatRing) Count

func (r *FloatRing) Count() int

func (*FloatRing) Dup

func (r *FloatRing) Dup() ring.Ring

func (*FloatRing) Eval

func (r *FloatRing) Eval(zs []int64) *vector.Vector

func (*FloatRing) Fill

func (r *FloatRing) Fill(i int64, sel, z int64, vec *vector.Vector)

func (*FloatRing) Free

func (r *FloatRing) Free(m *mheap.Mheap)

func (*FloatRing) Grow

func (r *FloatRing) Grow(m *mheap.Mheap) error

func (*FloatRing) Grows

func (r *FloatRing) Grows(size int, m *mheap.Mheap) error

func (*FloatRing) Mul

func (r *FloatRing) Mul(a interface{}, x, y, z int64)

r[x] += a[y] * z

func (*FloatRing) SetLength

func (r *FloatRing) SetLength(n int)

func (*FloatRing) Shrink

func (r *FloatRing) Shrink(sels []int64)

func (*FloatRing) Shuffle

func (r *FloatRing) Shuffle(_ []int64, _ *mheap.Mheap) error

func (*FloatRing) Size

func (r *FloatRing) Size() int

func (*FloatRing) String

func (r *FloatRing) String() string

func (*FloatRing) Type

func (r *FloatRing) Type() types.Type

type IntRing

type IntRing struct {
	Da  []byte
	Ns  []int64
	Vs  []int64
	Typ types.Type
}

func NewInt

func NewInt(typ types.Type) *IntRing

func (*IntRing) Add

func (r *IntRing) Add(a interface{}, x, y int64)

r[x] += a[y]

func (*IntRing) BatchAdd

func (r *IntRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)

func (*IntRing) BatchFill

func (r *IntRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)

func (*IntRing) BulkFill

func (r *IntRing) BulkFill(i int64, zs []int64, vec *vector.Vector)

func (*IntRing) Count

func (r *IntRing) Count() int

func (*IntRing) Dup

func (r *IntRing) Dup() ring.Ring

func (*IntRing) Eval

func (r *IntRing) Eval(zs []int64) *vector.Vector

func (*IntRing) Fill

func (r *IntRing) Fill(i int64, sel, z int64, vec *vector.Vector)

func (*IntRing) Free

func (r *IntRing) Free(m *mheap.Mheap)

func (*IntRing) Grow

func (r *IntRing) Grow(m *mheap.Mheap) error

func (*IntRing) Grows

func (r *IntRing) Grows(size int, m *mheap.Mheap) error

func (*IntRing) Mul

func (r *IntRing) Mul(a interface{}, x, y, z int64)

r[x] += a[y] * z

func (*IntRing) SetLength

func (r *IntRing) SetLength(n int)

func (*IntRing) Shrink

func (r *IntRing) Shrink(sels []int64)

func (*IntRing) Shuffle

func (r *IntRing) Shuffle(_ []int64, _ *mheap.Mheap) error

func (*IntRing) Size

func (r *IntRing) Size() int

func (*IntRing) String

func (r *IntRing) String() string

func (*IntRing) Type

func (r *IntRing) Type() types.Type

type UIntRing

type UIntRing struct {
	Da  []byte
	Ns  []int64
	Vs  []uint64
	Typ types.Type
}

func NewUint

func NewUint(typ types.Type) *UIntRing

func (*UIntRing) Add

func (r *UIntRing) Add(a interface{}, x, y int64)

func (*UIntRing) BatchAdd

func (r *UIntRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)

func (*UIntRing) BatchFill

func (r *UIntRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)

func (*UIntRing) BulkFill

func (r *UIntRing) BulkFill(i int64, zs []int64, vec *vector.Vector)

func (*UIntRing) Count

func (r *UIntRing) Count() int

func (*UIntRing) Dup

func (r *UIntRing) Dup() ring.Ring

func (*UIntRing) Eval

func (r *UIntRing) Eval(zs []int64) *vector.Vector

func (*UIntRing) Fill

func (r *UIntRing) Fill(i int64, sel, z int64, vec *vector.Vector)

func (*UIntRing) Free

func (r *UIntRing) Free(m *mheap.Mheap)

func (*UIntRing) Grow

func (r *UIntRing) Grow(m *mheap.Mheap) error

func (*UIntRing) Grows

func (r *UIntRing) Grows(size int, m *mheap.Mheap) error

func (*UIntRing) Mul

func (r *UIntRing) Mul(a interface{}, x, y, z int64)

r[x] += a[y] * z

func (*UIntRing) SetLength

func (r *UIntRing) SetLength(n int)

func (*UIntRing) Shrink

func (r *UIntRing) Shrink(sels []int64)

func (*UIntRing) Shuffle

func (r *UIntRing) Shuffle(_ []int64, _ *mheap.Mheap) error

func (*UIntRing) Size

func (r *UIntRing) Size() int

func (*UIntRing) String

func (r *UIntRing) String() string

func (*UIntRing) Type

func (r *UIntRing) Type() types.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL