native

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgMax

func ArgMax(xs []float64) int

func Clamp

func Clamp(x, min, max float64) float64

func ExtractArray

func ExtractArray(t *vm.Table) (any, error)

func MaxOf

func MaxOf(xx []float64) float64

func Maxf

func Maxf(xs []float64) float64

func Meanf

func Meanf(xs []float64) float64

func MinOf

func MinOf(xx []float64) float64

func Minf

func Minf(xs []float64) float64

func Softmax

func Softmax(xx []float64) []float64

func Stddevf

func Stddevf(xs []float64) float64

func Sumf

func Sumf(xs []float64) float64

func Variancef

func Variancef(xs []float64) float64

func WriteBack

func WriteBack[T any](t *vm.Table, values []T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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