vector

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID int64

type Vector

type Vector []float32

type Vectors

type Vectors struct {
	// contains filtered or unexported fields
}

func NewVectors

func NewVectors(chunkSize int) *Vectors

func (*Vectors) Add

func (v *Vectors) Add(vector Vector) ID

func (*Vectors) Delete

func (v *Vectors) Delete(id ID)

func (*Vectors) Get

func (v *Vectors) Get(vectors []Vector, n int) []ID

Jump to

Keyboard shortcuts

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