Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/ln
/ Identity
Function
Identity
ln/matrix.go:12–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
func
Identity() Matrix {
13
return
Matrix{
14
1, 0, 0, 0,
15
0, 1, 0, 0,
16
0, 0, 1, 0,
17
0, 0, 0, 1}
18
}
19
20
func
Translate(v Vector) Matrix {
21
return
Matrix{
Callers
2
Paths2
Method · 0.85
FitInside
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected