Versions in this module Expand all Collapse all v0 v0.6.1 Jul 1, 2026 v0.6.0 Jul 1, 2026 Changes in this version + func DotFloat32(left, right []float32) float32 + func DotFloat32BatchImplementation() string + func DotFloat32BatchOptimizedAvailable() bool + func DotFloat32Implementation() string + func DotFloat32IndexedOptimizedEligible(rows, dims int) bool + func DotFloat32OptimizedAvailable() bool + func DotFloat32OptimizedEligible(n int) bool + func DotFloat32Scalar(left, right []float32) float32 + func DotScalarU8CenteredIndexedOptimizedEligible(rows, dims int) bool + func PrepareScalarU8CenteredQuery(dst []ScalarU8CenteredCode, codes []byte, dims int) (query ScalarU8CenteredQuery, scratch []ScalarU8CenteredCode, ok bool) + func PrepareScalarU8CenteredQueryFromCentered(values []ScalarU8CenteredCode, dims int, sum int64) (query ScalarU8CenteredQuery, scratch []ScalarU8CenteredCode, ok bool) + func ScalarU8CenteredDot(query ScalarU8CenteredQuery, row []byte) (int64, bool) + func ScalarU8DotBatchImplementation() string + func ScalarU8DotBatchOptimizedAvailable() bool + type DotFloat32BatchStatus struct + Fallback bool + Invalid bool + Optimized bool + Rows int + func DotFloat32Indexed(dst []float32, base []float32, query []float32, rowIDs []uint32, dims int) DotFloat32BatchStatus + func DotFloat32IndexedPrevalidated(dst []float32, base []float32, query []float32, rowIDs []uint32, dims int) DotFloat32BatchStatus + func DotFloat32Strided(dst []float32, base []float32, query []float32, rowCount, dims, stride int) DotFloat32BatchStatus + type ScalarU8CenteredCode = int16 + func ScalarU8CenteredValue(code byte) ScalarU8CenteredCode + type ScalarU8CenteredQuery struct + func (q ScalarU8CenteredQuery) CenteredSum() int64 + func (q ScalarU8CenteredQuery) Dims() int + func (q ScalarU8CenteredQuery) Valid() bool + func (q ScalarU8CenteredQuery) ValidForDims(dims int) bool + func (q ScalarU8CenteredQuery) Value(i int) (ScalarU8CenteredCode, bool) + type ScalarU8DotBatchStatus struct + Fallback bool + Invalid bool + Optimized bool + Rows int + func DotScalarU8CenteredIndexed(dst []int64, codes []byte, query ScalarU8CenteredQuery, rowIDs []uint32, ...) ScalarU8DotBatchStatus + func DotScalarU8CenteredIndexedPrevalidated(dst []int64, codes []byte, query ScalarU8CenteredQuery, rowIDs []uint32, ...) ScalarU8DotBatchStatus