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

Function Eye

go.matrix/dense.go:285–291  ·  view source on GitHub ↗

* Create an identity matrix with span rows and span columns. */

(span int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestInverseFunction · 0.85
TestEyeFunction · 0.85
TestSubmatrixFunction · 0.85
InverseMethod · 0.85

Calls 2

ZerosFunction · 0.85
SetMethod · 0.65

Tested by 3

TestInverseFunction · 0.68
TestEyeFunction · 0.68
TestSubmatrixFunction · 0.68