Documentation ¶
Index ¶
- type StdDevPopRing
- func (v *StdDevPopRing) Add(a interface{}, x, y int64)
- func (v *StdDevPopRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
- func (v *StdDevPopRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)
- func (v *StdDevPopRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
- func (v *StdDevPopRing) Count() int
- func (v *StdDevPopRing) Dup() ring.Ring
- func (v *StdDevPopRing) Eval(zs []int64) *vector.Vector
- func (v *StdDevPopRing) Fill(i, j int64, z int64, vec *vector.Vector)
- func (v *StdDevPopRing) Free(m *mheap.Mheap)
- func (v *StdDevPopRing) Grow(m *mheap.Mheap) error
- func (v *StdDevPopRing) Grows(N int, m *mheap.Mheap) error
- func (v *StdDevPopRing) Mul(a interface{}, x, y, z int64)
- func (v *StdDevPopRing) SetLength(n int)
- func (v *StdDevPopRing) Shrink(selectIndexes []int64)
- func (v *StdDevPopRing) Shuffle(_ []int64, _ *mheap.Mheap) error
- func (v *StdDevPopRing) Size() int
- func (v *StdDevPopRing) String() string
- func (v *StdDevPopRing) Type() types.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StdDevPopRing ¶
type StdDevPopRing struct { // Typ is vector's value type Typ types.Type // attributes for computing the variance Data []byte SumX []float64 // sum of x, its memory address is same to Data, because we will use it to store result finally. SumX2 []float64 // sum of x^2 NullCounts []int64 // group to record number of the null value }
func NewStdDevPopRing ¶
func NewStdDevPopRing(typ types.Type) *StdDevPopRing
func NewStdDevPopRingWithTypeCheck ¶
func NewStdDevPopRingWithTypeCheck(typ types.Type) (*StdDevPopRing, error)
func (*StdDevPopRing) Add ¶
func (v *StdDevPopRing) Add(a interface{}, x, y int64)
func (*StdDevPopRing) BatchAdd ¶
func (v *StdDevPopRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
func (*StdDevPopRing) BulkFill ¶
func (v *StdDevPopRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
func (*StdDevPopRing) Count ¶
func (v *StdDevPopRing) Count() int
func (*StdDevPopRing) Dup ¶
func (v *StdDevPopRing) Dup() ring.Ring
func (*StdDevPopRing) Free ¶
func (v *StdDevPopRing) Free(m *mheap.Mheap)
func (*StdDevPopRing) Mul ¶
func (v *StdDevPopRing) Mul(a interface{}, x, y, z int64)
func (*StdDevPopRing) SetLength ¶
func (v *StdDevPopRing) SetLength(n int)
func (*StdDevPopRing) Shrink ¶
func (v *StdDevPopRing) Shrink(selectIndexes []int64)
func (*StdDevPopRing) Size ¶
func (v *StdDevPopRing) Size() int
func (*StdDevPopRing) String ¶
func (v *StdDevPopRing) String() string
func (*StdDevPopRing) Type ¶
func (v *StdDevPopRing) Type() types.Type
Click to show internal directories.
Click to hide internal directories.