linalg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package linalg is a require()-able host module providing the vector and matrix primitives that underpin most numeric data-science work: dot products, norms, matrix multiplication, transpose, and the small dense solvers (determinant, inverse, linear solve via Gaussian elimination with partial pivoting) needed for, e.g., closed-form linear regression.

Conventions: a vector is a Lua array of numbers; a matrix is a Lua array of equal-length row arrays. The numeric core operates on []float64 and [][]float64 and is tested directly in linalg_test.go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLinalgPreload

func RegisterLinalgPreload(v *vm.VM)

RegisterLinalgPreload installs the loader under package.preload.

Types

This section is empty.

Jump to

Keyboard shortcuts

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