Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ Div
Method
Div
ln/vector.go:68–70 ·
view source on GitHub ↗
(b Vector)
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(a Vector) Div(b Vector) Vector {
69
return
Vector{a.X / b.X, a.Y / b.Y, a.Z / b.Z}
70
}
71
72
func
(a Vector) AddScalar(b float64) Vector {
73
return
Vector{a.X + b, a.Y + b, a.Z + b}
Callers
2
FitInside
Method · 0.80
Intersect
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected