vector

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SurfaceKF32 added in v0.0.3

func SurfaceKF32(surface vector.Surface[vector.F32]) vector.Surface[KF32]

Create surface distance function for type VF32

func SurfaceVF32 added in v0.0.3

func SurfaceVF32(surface vector.Surface[vector.F32]) vector.Surface[VF32]

Create surface distance function for type VF32

Types

type KF32 added in v0.0.3

type KF32 struct {
	Key guid.K     `json:"k"`
	Vec vector.F32 `json:"v"`
}

Vector of float32 annotated with K-order number

func (KF32) String added in v0.0.3

func (v KF32) String() string

type VF32

type VF32 struct {
	Key uint32     `json:"k"`
	Vec vector.F32 `json:"v"`
}

Vector of float32 annotated with uint32 key

func (VF32) String

func (v VF32) String() string

Jump to

Keyboard shortcuts

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