pythagoras

package
v0.0.0-...-a4a72b7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Distance

func Distance(a, b Vector) float64

Distance calculates the distance between to vectors with the Pythagoras theorem

Types

type Vector

type Vector struct {
	// contains filtered or unexported fields
}

Vector defines a tuple with 3 values in 3d-space

Jump to

Keyboard shortcuts

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