vector

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vector

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

func New

func New() *Vector

func (*Vector) FindLowerBound

func (v *Vector) FindLowerBound(begin, end int, bound negentropy.Bound) int

func (*Vector) Fingerprint

func (v *Vector) Fingerprint(begin, end int) string

func (*Vector) GetBound

func (v *Vector) GetBound(idx int) negentropy.Bound

func (*Vector) Insert

func (v *Vector) Insert(createdAt nostr.Timestamp, id string)

func (*Vector) Range

func (v *Vector) Range(begin, end int) iter.Seq2[int, negentropy.Item]

func (*Vector) Seal

func (v *Vector) Seal()

func (*Vector) Size

func (v *Vector) Size() int

Jump to

Keyboard shortcuts

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