vector

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by gobindlua; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vector

type Vector struct {
	Elements []float64
}

func NewVectorFrom

func NewVectorFrom(elems []float64) Vector

func NewVectorVariadic

func NewVectorVariadic(elems ...float64) Vector

func (Vector) InnerProduct

func (v Vector) InnerProduct(o Vector) (float64, error)

func (*Vector) LuaMetatableType

func (r *Vector) LuaMetatableType() string

func (*Vector) LuaModuleLoader

func (goType *Vector) LuaModuleLoader(L *lua.LState) int

func (*Vector) LuaModuleName

func (goType *Vector) LuaModuleName() string

func (*Vector) LuaRegisterGlobalMetatable

func (goType *Vector) LuaRegisterGlobalMetatable(L *lua.LState)

func (Vector) OuterProduct

func (v Vector) OuterProduct(o Vector) (matrix.Matrix, error)

Jump to

Keyboard shortcuts

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