Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Learning-Go-Programming
/ New
Function
New
ch12/vector/vec.go:28–30 ·
view source on GitHub ↗
(elems ...float64)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
15
BenchmarkVectorEqual1
Function · 0.85
BenchmarkVectorEqual2
Function · 0.85
BenchmarkVectorAdd
Function · 0.85
BenchmarkVectorSub
Function · 0.85
BenchmarkVectorScale
Function · 0.85
BenchmarkVectorMag
Function · 0.85
BenchmarkVectorUnit
Function · 0.85
BenchmarkVectorDotProd
Function · 0.85
BenchmarkVectorAngle
Function · 0.85
TestNewVector
Function · 0.85
TestVectorString
Function · 0.85
TestVectorEqual
Function · 0.85
Calls
1
SimpleVector
TypeAlias · 0.85
Tested by
15
BenchmarkVectorEqual1
Function · 0.68
BenchmarkVectorEqual2
Function · 0.68
BenchmarkVectorAdd
Function · 0.68
BenchmarkVectorSub
Function · 0.68
BenchmarkVectorScale
Function · 0.68
BenchmarkVectorMag
Function · 0.68
BenchmarkVectorUnit
Function · 0.68
BenchmarkVectorDotProd
Function · 0.68
BenchmarkVectorAngle
Function · 0.68
TestNewVector
Function · 0.68
TestVectorString
Function · 0.68
TestVectorEqual
Function · 0.68