MCPcopy Index your code
hub / github.com/andeya/algorithm / New

Function New

vector/vector.go:32–37  ·  view source on GitHub ↗

============================= [ Constructors ] ============================= Create a Vector with dimension n, with all values initialized to 0.

(n uint)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

TestNewFunction · 0.70
TestSetFunction · 0.70
TestLenFunction · 0.70
TestEqualFunction · 0.70
TestDotProductFunction · 0.70
TestAngleFunction · 0.70
TestCrossProductFunction · 0.70
TestMissmatchedDimsFunction · 0.70

Calls

no outgoing calls

Tested by 8

TestNewFunction · 0.56
TestSetFunction · 0.56
TestLenFunction · 0.56
TestEqualFunction · 0.56
TestDotProductFunction · 0.56
TestAngleFunction · 0.56
TestCrossProductFunction · 0.56
TestMissmatchedDimsFunction · 0.56