vectors

package
v0.0.0-...-ee748a0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 1 Imported by: 0

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 Init

func Init(v []float64) Vector

func (*Vector) Cross

func (a *Vector) Cross(b Vector) Vector

func (*Vector) Dot

func (a *Vector) Dot(b Vector) float64

func (*Vector) Equals

func (a *Vector) Equals(b Vector) bool

func (*Vector) Length

func (a *Vector) Length() float64

func (*Vector) Normalize

func (a *Vector) Normalize() Vector

Jump to

Keyboard shortcuts

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