Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/sdf
/ _vec
Function
_vec
sdf/d3.py:76–77 ·
view source on GitHub ↗
(*arrs)
Source
from the content-addressed store, hash-verified
74
return
np.sum(a * b, axis=1)
75
76
def
_vec(*arrs):
77
return
np.stack(arrs, axis=-1)
78
79
def
_perpendicular(v):
80
if
v[1] == 0 and v[2] == 0:
Callers
2
g
Function · 0.70
f
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected